Prevent duplicate prefabId when duplicating prefabs

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

Prevent duplicate prefabId when duplicating prefabs

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

Re: Prevent duplicate prefabId when duplicating prefabs

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
FredTuna
Posts: 20
Joined: Sat Aug 10, 2019 3:16 pm

Re: Prevent duplicate prefabId when duplicating prefabs

Post by FredTuna »

Thank you!
Post Reply