Page 1 of 1

Duplicating a prefab dirties a bunch of other prefabs

Posted: Fri Oct 04, 2019 5:55 am
by FredTuna
I have noticed that if I duplicate a prefab with an ES3Prefab component in it, the editor will be working for quite a while (30 seconds?) as it is updating a bunch of other prefabs (which also contain an ES3Prefab component). It seems that it is adding the fileId to the list of localRefs on each of those prefabs.

I'm not sure why all these prefabs need a reference to that new duplicated prefabs since they obviously don't reference this new duplicated prefab (since it just got created). This makes it really painful when I'm just trying to duplicate a prefab but then it creates so many conflicts with potential changes from other team members on these prefabs. Is there anything I can do to avoid that?

Re: Duplicating a prefab dirties a bunch of other prefabs

Posted: Fri Oct 04, 2019 5:48 pm
by Joel
Hi Fred,

I'm not sure I understand. We don't run any code when an ES3Prefab is duplicated. Please could you PM me a basic project which replicates this?

All the best,
Joel