Setting Material Name Dynamically, Id concerns

So let’s say I make 100 materials and serialize them. All of the materials get their id left alone and for this question, let’s say we set them all to mat when we initialized the material with the name of “mat”.

Then before I serialize them they get their names changed to mat0-99 respectively, with the id being left alone.

The times that these materials were created might not have been concurrent or linear but there will never be two with the same name.

Will there be identification issues later when I bring these serialized materials back into a scene?

Well why not relying on the uniqueId? I’m not sure I’m seeing what is the problem here :wink: