To request access to the OneJS private repo, please message Singtaa on Discord with your Invoice # and Github username. Our Discord is also a great place to chat and search for answers already asked by the community.
Doc Menu

This sample is available as a public repo at

Step-by-step Setup

  • Extract this repo to {ProjectDir}/OneJS/FortniteSample
  • Open {ProjectDir}/OneJS with VSCode and run the tsc: watch task (Ctrl + Shift + B)
  • In Unity, drag a ScriptEngine prefab onto the scene.
  • Create an empty GameObject in scene and name it charman. Then, drag the included CharacterManager.cs onto it.
  • Add CharacterManager to the Objects list under ScriptEngine's INTEROP; name it to charman. (Read the info box above the Objects list for tips on how to pick specific Objects)
  • Set Live Reload's entry script to FortniteSample/index.js.
  • Hit Play and you should be all set