I have a LocalScript in StarterPlayerScripts that has a bunch of ObjectValues that reference various parts of the game, and the script uses those ObjectValues to detect when those parts are touched to fire different events (it’s a single player game so everything is local).
In the first chapter, it has worked and still works perfectly fine; however, in the next chapter that I’m making - which is a separate place file - those ObjectValues in the script keep getting set to nil when I actually test the game.
What’s even weirder, is that only some of them do; the ObjectValues whose values are set to Models remain just fine, and it’s only the those whose values are Parts that are cleared.
I have made extra-extra sure that there is not a single script in the Place that changes the parts I’m referencing (like cloning them and changing their parent or something).
I also noticed that when I have the same set of ObjectValues in the workspace instead, they remain just fine. I thought that maybe it was because the client can’t replicate ObjectValues or something but I know it can because it did in the first chapter.
I have zero idea why the values are being cleared or what to do about it. It’s incredibly annoying because it’s completely halting my development on the place for now.