I love seeing the changes in Unity

One of the things I have seen while doing this, is that prefabs or prefab names are stored only if given.

So if you make 2 cubes and combine them to make a prefab…and name the prefab ‘cubes’ the name value: cubes is stored

However, when you look at the .unity files when you change the material, each sub-object of the prefab is shows a material change, but the ‘value’ is blank. This means that the Unity file doesn’t bother storing the ‘name’ field of any objects used in a prefab if the user doesn’t give one.

Nothing major, just kind of cool that it doesn’t waste space attempting to provide user context when the user has decided it doesn’t care about the context.

1 Like

Privacy & Terms