Can't locate " trying to set locked parent! "

So i have been working on this game for 5 months now Warriors Army Simulator 2

And after looking to the analytics ( Error reports ) i found out that the players are getting SPAMMED with this " trying to set locked parent " warning

i have never had this issue in roblox studio and i’m having trouble now locating it the game has just about 20k lines of script so i don’t have any idea from where to start finding this issue , Any idea will help
image
Note : these reprots are for the past 1 week with only 30-60 ccu

3 Likes

the object you’re trying to parent was destroyed

2 Likes

Check what parts of your code has .Parent = using ctrl + shift + f (find all), then see if the instance is being destroyed somewhere else.

1 Like

I actually ended up finding the issue by myself
The thing was , The server was sending instances to a folder in the replicated storage, but this folder is destroyed in the client ( the warning was showing up only on the client side )

Alright nice, good job..

1 Like

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