OctaForge/OF-Engine

attempt to index upvalue 'env' (a nil value)

rakete opened this issue · 2 comments

Building went fine. And I can run and sometimes even use the client, but most of the time it will start but then just output:
[[ERROR]] - ./data/library/core/base/base_world.lua:708: attempt to index upvalue 'env' (a nil value)

every time I try to do anything. Sometimes it loads the empty map when I click it and then outputs the error when I press WASD to move. Sometimes the error appears even before the menu comes up, when loading the client.

It seems 'env' is just an alias for the _G table, a very fundamental lua builtin if I understand correctly? Maybe you could roughly point me to where the error might come from, than I could take a look myself and maybe figure something out.

q66 commented

If you have current Git from repository under my account (not the one under organization), it's known issue and will get fixed for the release.

q66 commented

Should be fine now. Closing issue for now, reopen if you still get the same thing; make sure your .octaforge_client in home directory is deleted.