If I’m not mistaken, this function (which sounds like it’s trying to determine if an object is SAFE to delete) is actually finding out whether the game object is part of a prefab, and therefore is UNSAFE to delete. Therefore, the function should be changed to something like IsUnsafePrefabDelete, and the logic where it gets called should be flipped?
EDIT 2: The above change seems to fix the issue.
Login
Register
By registering on this website you agree to our Privacy Policy.