Template project for NimForUE: https://github.com/jmgomez/NimForUE
NimForUE is Nim plugin for UE5 that provides native performance, hot reloading, and full interop between C++ and Blueprints. With this plugin, you can extend any UE class in Nim and then further extend it in Blueprint without restarting the editor. This allows for seamless integration with common UE workflows, allowing you to take advantage of the power of Nim in your UE projects.
Make sure you have Unreal Engine 5.1 installed and Nim 1.6.10 or above is in your path.
- Clone the repository and its submodules:
git clone https://github.com/jmgomez/NimTemplate.git --recurse-submodules
- Navigate to the NimForUE directory:
cd NimTemplate/Plugins/NimForUE
- Set up the project using nimble:
nimble setup
This will build the project and all the necessary Nim files.
-
Open NimTemplate.uproject
-
When UE loads the plugin it will automatically generate all the bindings for the plugin listed in your game.
-
Once the bindings are generated, open game.nim in the root of the NimForUE directory in VSCode. There should be a task available to build the game DLL.
7.Restart the editor, this is only necessary the first time you compile your game. Now you should be ready to go!