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 compiling with GCC it is now possible for an opcode followed by
itself to never leave the scope it is currently in. This leads to a
situation where the dtor of a scope local variable isn't called which in
turn can lead to a memory leak.
By moving the goto outside of the scope of each opcode we guarantee that
all dtors have been called before the next opcode gets dispatched.
this fixesgodotengine#12401
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Linux Godot 3.0@4396712
Steps to reproduce:
This issue does not occur with surface Material.
EDIT: Seems to affect every data passed to material_override with script
Link to minimal example project:
leak_tests.zip
The text was updated successfully, but these errors were encountered: