Page 1 of 1

Prevent duplicate prefabId when duplicating prefabs

Posted: Fri Oct 04, 2019 5:50 am
by FredTuna
Is there a way to force the prefabId property on the ES3Prefab component to update its value to a new prefabId when I duplicate a prefab with an ES3Prefab component in it?

It seems like this could be a lead on how to do it but I wanted to see if there was already a solution before I have a go at it myself : https://answers.unity.com/questions/444 ... cated.html


Thanks!

Re: Prevent duplicate prefabId when duplicating prefabs

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

We currently don't do this because there were situations where it was desired to keep the same prefabID. However, now that we have prefab variants it would probably be more desirable for that prefabID to be updated. I'll see about adding this to our backlog.

All the best,
Joel

Re: Prevent duplicate prefabId when duplicating prefabs

Posted: Fri Oct 04, 2019 5:55 pm
by FredTuna
Thank you!