getnamo / NodeJs-Unreal

Embed node.js as an Unreal Engine plugin.
MIT License
237 stars 34 forks source link

Main script connection error (4.26) #41

Open LocalStarlight opened 2 years ago

LocalStarlight commented 2 years ago

Just testing this out for the first time today to see if it works, and failing on the first test.

  1. Added 4.26 plugin version to Plugins folder of project
  2. Created script lifted directly from 'A basic example with just console.log output' section of README, added to Scripts folder under content
  3. Added Node component and set to print on On Console Log

Here is the output log:

LogTemp: RunScriptStart
LogTemp: node thread start
LogTemp: Starting node.exe at F:/Documents/Unreal Projects/JavascriptTest/Plugins/nodejs-ue4/Source/ThirdParty/node with ../../../Content/Scripts/nodeWrapper.js
PIE: Server logged in
PIE: Play in editor total start time 0.299 seconds.
LogTemp: Error: Main script connection error! Likely crash, stopping main script.
LogTemp: RunScriptTerminated
LogTemp: Error: Main script connection error! Likely crash, stopping main script.
LogTemp: Error: Main script connection error! Likely crash, stopping main script.
LogTemp: Error: Main script connection error! Likely crash, stopping main script.

Any ideas?

Lord7even commented 2 years ago

I have the same problem. Tested with the master build and the 5.A build running on ue4.27. I also downloaded the 4.23 example project and get the same error running on 4.23. Tried with on begin play events or inputs, automatically and manually.

Johnly1986 commented 1 year ago

Is the bug fixed ?

Jeff591 commented 1 year ago

I have this issue on the ue 5.1 as well with plugin version 1.3

getnamo commented 9 months ago

NB: Issue is still present 5.1-5.3. Sometimes requires restart and startup again. Unsure why first launch fails.

zgk-vdg commented 2 months ago

I'm also interested in how this is going to unfold. Great plugin otherwise!