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
Deserializing custom classes with var_to_bytes_with_objects sometimes fails when run on a separate thread. Attempting to do so inconsistently results in the engine spitting out a bunch of Can't load script at path: 'res://custom_resource.gd'. errors.
Tested versions
Regression introduced in v4.3.beta3.official [82cedc8]
Works as expected in v4.3.beta2.official [b75f048]
System information
Godot v4.3.beta3 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 (NVIDIA; 31.0.15.4633) - AMD Ryzen 9 7900X 12-Core Processor (24 Threads)
Issue description
Deserializing custom classes with
var_to_bytes_with_objects
sometimes fails when run on a separate thread. Attempting to do so inconsistently results in the engine spitting out a bunch ofCan't load script at path: 'res://custom_resource.gd'.
errors.Steps to reproduce
Run Threaded
button: it fails to properly deserialize the data ~60% of the timeRun Unthreaded
button: it produces no deserialization failuresMinimal reproduction project (MRP)
threaded-deserialization-bug.zip
The text was updated successfully, but these errors were encountered: