UPBGE / upbge

UPBGE, the best integrated game engine in Blender
https://upbge.org
Other
1.39k stars 177 forks source link

Loading modules fails to work unless the script is "embedded" in the Blend file. #1819

Closed Feral3d closed 1 year ago

Feral3d commented 1 year ago

Modules that are linked/embedded to a *.blend file work, however scripts that are in the game directory fail to load, it returns this error:

ModuleNotFoundError: No module named 'test'

You can test the error in this example file: module_test.zip

youle31 commented 1 year ago

Thanks very much for report. It came from merge mistakes I did here: d5e14bca4bb668ae09eaf667fc14900b71227adf

I'll fix it right now. Thanks very much!

Feral3d commented 9 months ago

Thank you!!!