I have a ScreenGui inside of a folder in StarterGui, with the property ResetOnSpawn set to false. When my character dies, even though the property is set to false, the gui is still reloaded. If the ScreenGui is a direct descendant of StarterGui, everything works as intended.
You shouldn’t use folders to store ScreenGuis or Gui objects in StarterGui. Even if you try to position them with the mouse cursor in Studio, they won’t work properly.
This needs to be fixed asap, I moved to folders recently to try and organize my project and everything literally broke. I thought I changed some code and was trying to find the bug for a day now before I found this post. Thanks
Any status update here? If not, can this be escalated? We need this fixed for release. We have way too many ScreenGuis to reasonably put them all as direct descendants of StarterGui… still dealing with issues when guis are parented to a Folder.
I’ve been aware of this issue for a very long time, The only make-shift solution I’ve seen is to use separate ScreenGui instances as “folders” with their respective ResetOnSpawn property set to false.
Surprised this is still a thing.
Hi David, thank you for the report! Unfortunately, this is a behavior change that would not be backwards-compatible. Experiences that depend on the existing behavior of ResetOnSpawn applying only to direct descendants would break.
We will update the documentation to make clear that this is the expected behavior.
Hi, the documentation for LayerCollector has been updated to show that ResetOnSpawn is expected to only be respected when the LayerCollector is a direct child of StarterGui. Apologies for the confusion!