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
When loading multiple scenes with thread, sometimes an empty mesh is created in ready() of the scene.
The first time you press the button in sample project's main scene, you'll get an error in the console.
[Error]
mesh_surface_get_primitive_type: Index p_surface = 0 is out of bounds (mesh->surfaces.size() = 0).
But after that, pressing the button will no longer give you an error, as if the cache has been resolved.
I've heard that thread loading will be improved in 4.0, will this issue be resolved as well?
Steps to reproduce:
Run and press button in sample project (bg_mesh.zip) main scene.
The sample project updated. If make waiting between wait_to_finish() to add_child() in main thread, loaded scene's mesh is created correctly (sample scene button right). But I think that's an odd behavior that is not accurate.
Godot version:
3.2.2
OS/device including version:
Mac 10.15.3
Windows 10
Issue description:
When loading multiple scenes with thread, sometimes an empty mesh is created in ready() of the scene.
The first time you press the button in sample project's main scene, you'll get an error in the console.
But after that, pressing the button will no longer give you an error, as if the cache has been resolved.
I've heard that thread loading will be improved in 4.0, will this issue be resolved as well?
Steps to reproduce:
Run and press button in sample project (bg_mesh.zip) main scene.
Minimal reproduction project:
bg_mesh.zip
The text was updated successfully, but these errors were encountered: