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
Godot v4.1.1.stable - macOS 13.5.2 - Vulkan (Forward+) - integrated Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
Memory allocated when using SubViewport with own_world_3d = true is not released when own_world_3d = false or queue_free.
The set_use_own_world_3d function is called when own_world_3d is changed.
When true is given, it seems that own_world_3d is created, but the opportunity to destroy it is not given.
Steps to reproduce
This bug can be reproduced with the following code.
The text was updated successfully, but these errors were encountered:
MizunagiKB
changed the title
Using SubViewport with down_world_3d = true causes memory leak.
Using SubViewport with own_world_3d = true causes memory leak.
Sep 9, 2023
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - macOS 13.5.2 - Vulkan (Forward+) - integrated Apple M2 Max - Apple M2 Max (12 Threads)
Issue description
Memory allocated when using SubViewport with own_world_3d = true is not released when own_world_3d = false or queue_free.
The set_use_own_world_3d function is called when own_world_3d is changed.
When true is given, it seems that own_world_3d is created, but the opportunity to destroy it is not given.
Steps to reproduce
This bug can be reproduced with the following code.
Minimal reproduction project
viewport_memory_leak.zip
The text was updated successfully, but these errors were encountered: