Hi,
I had this weird error every time when I start Unity after git pull.
“Component could not be loaded when loading game object. Cleaning up!”
When I click on it, one prefab opens and another info shows:
“File contains the same file identifier (3) for multiple object types (PrefabImporter) (MonoBehaviour). Object may be overwritten.”
Could somebody explain this to me - what is wrong?
I already searched in this prefab for missing scripts, but it seems ok.
Thanks in advance
peeka
2
I am on 2019.4.11f, when I call PrefabUtility.SaveAsPrefabAsset on a gameobject with 2 nested children with 1 of my mono class.
peeka
3
I noticed for some reason in Debug inspector view I can see the local identifier in file is 3, but all my other stuff is 0
peeka
4
ok I delete the component and recreated and problem went away, the local file identifier become 0 now.
I have the same error now when exporting but I can’t figure out how to find out what prefab asset/gameobject it is. How did you find out?