Is there a proper way to use one of Godot's native threads from a Lua script? I've tried simply doing something like:
thread = Thread:new()
thread:start(self, "_save_game_in_thread", save_data)
self.thread = thread
But this just causes the game to crash with no error reported.
I know one of the stated non-goals is "Support multithreading on the Lua side" but I'm not sure if that's what you meant or if you simply meant native Lua multithreading.
Is there a proper way to use one of Godot's native threads from a Lua script? I've tried simply doing something like:
But this just causes the game to crash with no error reported.
I know one of the stated non-goals is "Support multithreading on the Lua side" but I'm not sure if that's what you meant or if you simply meant native Lua multithreading.