There are times when I have a prefab, and I want to make changes to one and have it NOT be a prefab any more. If I make changes, it becomes a BROKEN PREFAB, but not a clean set of objects. It continues to be a prefab - albeit broken.
I just want to select a GameObject or family of GameObjects and say “Prang! You are now mortal. You are free of your bonds of immortality and are a prefab no longer.”
Is there a way to just “Clear Prefab”?
Editor Scripting?
I would imagine something like “SetPrefabType” to “PrefabType.None” but I can only find “GetPrefabType”.
Can’t be done. I have investigated this already for so long, and it is a no go, for some obscure reason
The only way to make an object a non prefab, is by disconnecting it (either by hand, or by code), and then delete the prefab master from the project assetdatabase. Then it will look normal again.
I had the same problem. I fixed it by right clicking the object you want to un-prefab in the Hierarchy, then select unpack prefab completely. This will make the object no longer a prefab, and you can then just delete the prefab. I’ve put a link to a short clip of myself doing so if you want to check it out.
hope this helps!
lol I just realized this thread was created 6 years ago