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
Occurs both when "Export as Debug" is set and when it isn't.
Does not occur on Windows exports
System information
Windows 11 64-bit, Chrome 131.0.6778.205
Issue description
Awaiting Task.Delay works fine in editor builds, but crashes on HTML5 exports, showing the following message on the console (F12):
Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Threading.WasmRuntime.TimeoutCallback (System.Int32 id) <0x2f69080 + 0x0000a> in :0
timeout callback threw a System.NullReferenceException
Steps to reproduce
Open the attached minimal reproduction project in Godot
The text was updated successfully, but these errors were encountered:
AThousandShips
changed the title
Task.Delay throws NullReferenceException on HTML5 exports
[3.x] Task.Delay throws NullReferenceException on HTML5 exports
Dec 22, 2024
Tested versions
Reproducible in: v3.6.stable.mono.official [de2f0f1]
System information
Windows 11 64-bit, Chrome 131.0.6778.205
Issue description
Awaiting
Task.Delay
works fine in editor builds, but crashes on HTML5 exports, showing the following message on the console (F12):Steps to reproduce
python -m http.server
whencd
-d into the exported directoryhttp://localhost:8000
, press F12 to keep the console window openTaskDelayDemo.html
and observe the errors in the console, and that "Done" is never printedMinimal reproduction project (MRP)
TaskDelayDemo.zip
The text was updated successfully, but these errors were encountered: