Hello guys,
we are facing some “critical” issue in our project .
Extract from our fogbuz :
Save prefab duplicate components
-
What happened
If we open and save “MenuMessageEdit” some components are duplicated. -
How we can reproduce it using the example you attached
- Search for “MenuMessageEdit” prefab
- Open it with the “Open Prefab” button in inspector.
- Check the content of the “Skinned TextMeshProUGUI” we pointed in our screenshot named “Screenshot_BeforeSave” you can see only 5 components
- Push save button without changing anything.
- Right after you can check the console and see 2 error messages. One mentionned a multiple Skinned TM Pro (whereas we had just one)
- Close the “Edit prefab” mode by pushing top left arrow. If it asks for saving; just save again
- Open the prefab again.
- Check the same game object “Skinned TextMeshProUGUI” and you will see the same thing than our second screenshot named “Screenshot_AfterSave” with 9 components whereas we changed nothing.
It’s quite a showstopper for us cause we can’t edit this prefab anymore…
Feel free to ask if you need more information.
Due to this, it’s impossible to edit some prefab (expect by hand by editing directly the “.prefab” which not viable…
Any clue, solution, fix would be welcomed.
I add the screenshots from the fogbuzz report, in this way you can see on the forum what happens.
P.S : It happens on Unity 2018.3.12 & 2019.1.0f2 too
We didn’t test on earlier version with our broken prefab