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
If a ViewportContainer is visible_in_tree it will set update_mode to all children Viewports to Viewport::UPDATE_ALWAYS when receiving a NOTIFICATION_ENTER_TREE or NOTIFICATION_VISIBILITY_CHANGED.
This will cause performance issues if you are dealing with a lot of ViewportContainer containing a Viewport (in my case for exemple, in the hundreds causing fps drop and CPU over usage).
Steps to reproduce
Create a ViewportContainer
Create a sub Viewport (child to the ViewportContainer)
Duplicate the ViewportContainer hundreds of time, and see the computational impact (using CPU monitoring f. ex).
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered:
Godot version
3.3.stable
System information
Windows 10
Issue description
If a ViewportContainer is visible_in_tree it will set update_mode to all children Viewports to Viewport::UPDATE_ALWAYS when receiving a NOTIFICATION_ENTER_TREE or NOTIFICATION_VISIBILITY_CHANGED.
This will cause performance issues if you are dealing with a lot of ViewportContainer containing a Viewport (in my case for exemple, in the hundreds causing fps drop and CPU over usage).
Steps to reproduce
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: