- Home /
What does "Couldn't find matching instance in prefab" mean?
This error message is cramping my style this afternoon. If I knew what it was talking about, maybe I could fix the problem!
It seems to come up when I use EditorUtility.InstantiatePrefab, but not always. I've used that function many times before today, and never saw that error before.
Answer by equalsequals · Nov 20, 2009 at 10:00 PM
You'll probably need to be more specific, could you provide some code samples of where this problem occurs, or perhaps explain what you are trying to achieve?
By the sounds of it, it looks as if you're referencing the name of a prefab that can't be found for one reason or another...
I haven't seen it happen lately. Somehow, Unity was not updating prefabs properly - I'm still quite confused as to exactly what the issue was. But several prefabs that I had created got "corrupted", apparently. Recreating the prefabs made this problem go away, but I fear it happening again.
Answer by peter · Jan 16, 2010 at 03:27 AM
I had similar issue as well on my Mac Pro quad os 10.6 Recreating script/prefab connection was my solution
this is not really an answer, more something like a comment. Be sure to move this to a comment once you've reached 50p (so you can comment)