Duplicating a prefab dirties a bunch of other prefabs

Discussion and help for Easy Save 3
Post Reply
FredTuna
Posts: 20
Joined: Sat Aug 10, 2019 3:16 pm

Duplicating a prefab dirties a bunch of other prefabs

Post 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?
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: Duplicating a prefab dirties a bunch of other prefabs

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply