Repository navigation
Changes
- Adds Linux x86_64 support. Node v24.21.0 (LTS) for Linux is bundled in
Source/ThirdParty/node-linux, and only the target platform's node is staged when packaging - Validated in a packaged Linux build: all
NodeJs.*automation tests pass, as does the engine-free harness under Linux node - On Linux, node is made executable automatically if the execute bit got lost (e.g. archives or packages made on Windows)
- Scripts run as a Subprocess now exit shortly after their parent node process goes away, so they can't outlive the game even if it crashes or node is killed. Linux doesn't clean up orphaned child processes by itself
- The node bridge handles SIGTERM/SIGINT/SIGHUP by stopping scripts cleanly first (Unreal stops processes with SIGTERM on Linux)
- npm is found in both the Windows and Linux node layouts, so manual and automatic
npm installwork on Linux - Lower CPU use: the pipe reader no longer busy-polls. The new
Node Js Process Params -> Pipe Idle Sleep Seconds(default 1 ms) uses CLISystem's newIdleReadSleepSecondsoption. Before, each node process kept a CPU core busy on its reader thread; set it to 0 for the old behavior - Fix: a crash (Linux) / use-after-free (Windows) when a Node Component was destroyed while CLISystem's reader thread was still stopping
- process.js is launched by absolute path (Linux ignores the process working directory)
- Mac removed from the supported platforms; it never had a bundled node
- CLISystem v1.3.0: adds
IdleReadSleepSecondstoFProcessParams(default 0, unchanged behavior)
Note
Use NodeJs-UE5.8-v2.2.0-Win64-Linux.7z to download the plugin with embedded node.js binaries for Win64 and Linux. It contains Plugins/NodeJs-Unreal and Plugins/CLISystem-Unreal.