-
Notifications
You must be signed in to change notification settings - Fork 349
Building the plugin
Nako Sung edited this page Jul 16, 2016
·
9 revisions
- Make sure you have installed the UnrealEngine 4.12.? canonical build.
- Create a UE4 C++ project and close the editor after the project creation is finished
- Clone the content of Unreal.js-core into the
{ProjectRoot}\Plugins\UnrealJS
directory of the UE4 project directory - (or download the ready to build Zip file and extract it in the
{ProjectRoot}\Plugins\UnrealJS
directory) - Download the V8 prebuilt binaries or build them yourself and put them in the
{ProjectRoot}\Plugins\UnrealJS\ThirdParty\v8\lib\Win64\Release
directory - Now open the C++
.uproject
again in the UE editor - Once the UE Editor opens the project it should ask if you want to rebuild the plugin modules, click
Yes
to start the C++ build - The compilation of the Unreal.js plugin should go through and you end up with a compiled version of the plugin in the
{ProjectRoot}\Plugins\UnrealJS
directory - To verify that the C++ binaries of the plugin have been built check that the DLLs for the plugin have been created in
{ProjectRoot}\Plugins\UnrealJS\Binaries\Win64
- In the UE Editor you can check that the plugin was successfully loaded in
Edit > Plugins > Project > Programming > Unreal.js - Javascript Runtime
- You can then start using the plugin in the project or copy the built plugin folder to a different UE project (Blueprint or C++) and use it there