You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems when initializing with AOT, runtime_initialized isn't assigned to true, which prevents firing ScriptManagerBridge.FrameCallback() and GodotTaskScheduler won't work.
Tested versions
4.x
System information
Win11
Issue description
When export with AOT, all tasks don't work.
It seems when initializing with AOT,
runtime_initialized
isn't assigned to true, which prevents firingScriptManagerBridge.FrameCallback()
andGodotTaskScheduler
won't work.Consider the code in MRP:
Run in editor, and it prints as expected:
Run exported executable with AOT, it prints
IsRuntimeInitialized: False
and won't continue counting.Activating
GodotTaskScheduler
manually will make tasks works:Steps to reproduce
Use MRP below.
Minimal reproduction project (MRP)
aot_task_test.zip
The text was updated successfully, but these errors were encountered: