LogTemp: Error: Main script connection error! Likely crash, stopping main script.
Hi guys,
I still get the following error message in my Unreal Engine 5.2 Project:
SocketIO: SocketIO Invalid appears to have lost connection, reconnecting attempt 2 with delay 11250 LogTemp: Error: Main script connection error! Likely crash, stopping main script.
I've already tried all steps mentioned in https://github.com/getnamo/NodeJs-Unreal/issues/18 but without resolving the issue.
My index.js is in \Unreal Projects\MyProject\Plugins\NodeJs-Unreal\Content\Scripts
npm i tells me everything is up to date.
Need help, thank you very much and have a nice day
It's a known issue, reloading the script a few times typically solves it (If in PIE, stop and play again like 2-3x).
That said I'm working slowly toward a more stable refactor around the CLISystem, branch found here: https://github.com/getnamo/NodeJs-Unreal/tree/feat-clisystem-refactor. Not yet working (missing communication protocol standard), but that's the approach that will fix this bug properly.
Hi @getnamo ,
thank you for your quick response and for trying to fix the issue. Do you have an idea when you will approximately release the new branch?
I'm open to test stuff if you like.
Bump, having a similar issue in packaged builds and in editor. is there a work-around? This is severely hindering the playtest of my project.