In this lecture I used a static dictionary to track the UUIDs on all SaveableEntities
. This mean I had to check and remove items from the dictionary if they became invalid. This would happen if the UUID was renamed or a new scene was loaded and the SaveableEntity
was destroyed.
I also outlined a poor performance solution with FindObjectsOfType
. Did you think of any other solutions?