Setup
Get setup and running with your first project using UnrealSharp
Last updated
Get setup and running with your first project using UnrealSharp
Last updated
C++ Project (For compiling the plugin)
Unreal Engine 5.3 - 5.5
Install
Clone repo and place UnrealSharp in the ProjectRootDirectory/Plugins folder (make the Plugins folder if it doesn’t exist) in your Unreal Engine project.
Right click on your projects UProject file and generate project files.
Compile the plugin as any other Unreal Engine plugin using the IDE of your choice.
Avoid compiling the plugin by clicking on the .uproject file. It introduces several issues, such as outdated binaries even when the source code has changed, which complicates debugging and support.
Launch your Unreal Engine project through the solution file or .uproject. Once Unreal Engine has fully opened, this prompt should appear:
Press Yes and the Create C# Project menu should appear like this:
You can choose a custom project name, and the project will be located in the ProjectRootFolder/Script directory. Subdirectories within Script are also supported, allowing you to organize your project files in any folder structure you prefer.
If you lose track or need to start over, you can easily access the project setup feature again.
Navigate to the top of the editor viewport and you’ll find the UnrealSharp logo. Click on New C# Project and you’re back on track.
Once the project is created and the solution opens, you will see two projects in the Solution Explorer.
ProjectGlue: This project contains the automatically generated glue code that is related to your project’s API. It is critical to the interop process, and it will be regenerated with each build. Therefore, do not modify or directly use this project. Any changes made here will be overwritten.