When removing UI widgets created via Verse, using RemoveWidget() causes permanent performance degradation on the server.
We tested this using 5 players, creating and removing a HUD widget each second. After 15 minutes, the TPS of the server becomes permanently erratic with noticeably degraded performance for the player.
It is hard to say exactly what is happening in the background, but if you guys could take a look we would appreciate. Removing HUD elements from the screen is a fundamental aspect of creating games, so the fact that this causes permanent performance loss is concerning.
Steps to Reproduce
Create Widget
Call RemoveWidget()
Repeat once per second for 15 minutes (for a 5 player lobby)
Observe degraded performance
Expected Result
Call RemoveWidget() without loss of performance
Observed Result
Repeated calls of RemoveWidget() permanently degrades server performance
Yes it is. I stopped using Verse widgets for temporary screen graphics and use HUD message devices instead. I only use Verse UI for permanent fixtures on the UI.