UPBGE / UPBGE-logicnodes

A Node-based Logic system for UPBGE 2.8+
Other
52 stars 18 forks source link

After exporting runtime the nodes don't work #28

Closed ElioOnPC closed 4 years ago

ElioOnPC commented 4 years ago

after i export a run time test with a simple node init --> rove object it wont run the nodes

ElioOnPC commented 4 years ago

Getting this error on the console

GL_ARB_texture_env_combine supported? yes. GL_ARB_draw_instanced supported? yes. Error: NodeTree_NL_PY(Cube), Python module can't be imported ModuleNotFoundError: No module named 'bgelogic' Error: totblock: 122

IzaZed commented 4 years ago

Did you save the .exe in the same location where the blend file is? Otherwise you might need to locate your file and copy the bgelogic folder to your executable, that should work.

This is because the addon generates that bgelogic folder and stores the necessary code in there, so whenever you want to have a nodetree perform you need that folder in the directory you are executing your file from

Let me know if that works :)

ElioOnPC commented 4 years ago

That fixed it thanks for the help look foreword for new release :)