I have prefabs in my scene with both the Autosave script and es3 prefab, when I stop the game and it saves and then start the game again these prefabs are gaining duplicates of their colliders each time and it's messing with a vital mechanic in which my prefabs need to enter a trigger and ++ a value, however, it's counting each collider and ++ for each one.
Does anyone know how to fix this, or worst case does code exist to check for duplicate components on start and remove the others etc.
Saved prefabs having dupe Collider added to them on load
Re: Saved prefabs having dupe Collider added to them on load
Ok, i may have fixed this by removing and re-adding the ES3 Prefab, and ES3 autosave scripts from the prefabs and refreshing the references.
If anyone has any insight still would be great to understand what caused this.
I do have alot of prefabs that have been a copy of another prefab with same components, just changed name and materials, so i dont know if that is a cause?
If anyone has any insight still would be great to understand what caused this.
I do have alot of prefabs that have been a copy of another prefab with same components, just changed name and materials, so i dont know if that is a cause?
Re: Saved prefabs having dupe Collider added to them on load
Hi there,
This issue was fixed in the latest update to Unity. However, it may be that there was save data left over from when this bug was present.
All the best,
Joel
This issue was fixed in the latest update to Unity. However, it may be that there was save data left over from when this bug was present.
All the best,
Joel