ScreenGui property "ResetOnSpawn" doesn't work when the Gui is inside of a folder

image

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.

10 Likes

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.

2 Likes

When you’re working with an enormous project it becomes necessary pretty quickly. This should be fixed to work as intended.

3 Likes

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 :pray:

2 Likes

We’ve filed a ticket to our internal database, and we’ll follow up when we have an update!

Thanks for the report!

4 Likes

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!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.