If BillboardGui, ScreenGui or SurfaceGui with “ResetOnSpawn” property set to false will be parented under ANYTHING which parented under PlayerGui will not reset on respawn, but just completely delete:
This behavior really hurts Folders and Models, cause it’s common containers for any stuff. I noticed this accidently, and this bug hurted 3 of my gui-based systems, which I need to rewrite now.
Reproduction steps:
- Create folder in StarterGui
- Create any GUI-container inside it (ResetOnSpawn doen’t matter here)
- Run test
- Respawn your character in any way
- Gui in folder will dissapear
Expected behavior
I expect that any object, used as container for GUI objects, will work the same as PlayerGui - if object has property “ResetOnSpawn” toggled - it will reset. And GUIs just shouldn’t completely destroy in any case.