- Home /
Breaking prefab connection
Okay, so i have created my "player" and made him into a prefab.In my game i use multiple scenes-it's a puzzle game-and sometimes i need to make changes on the player for a SPECIFIC LEVEL ONLY.When ever i try to change something on my player it automatically changes it on other scenes as well-which i don't want-i've tried using GameObject>break prefab instance but that doesn't work...help?
Answer by cagezero · Apr 29, 2013 at 07:08 PM
Select the prefab in the Hierarchy
Unity Menu GameObject-> Break Prefab Instance
I tried it and it doesn't work, if i change something it changes it on every scene
If the item is no longer blue and you are talking about settings, not changes to scripts, then report it as a bug.
Look(to be more specific) on my player (and prefab) i have a trail renderer,i use the prefab on a scene in which i want the trail to be red but when i do that in that scene, the color changes in the prefab and in all the other scenes.I've tried using break prefab instance and the text color changes from blue to white but i still have the problem...
That's simply because you changed the material and not the prefab. If you want multiple materials you have to duplicate the material and use this ins$$anonymous$$d. $$anonymous$$aterials are standalone assets. They aren't related to prefabs ;)
I don't quite understand what you mean....ins$$anonymous$$d of changing material i change TINT so i have a nice red effect