Instantiate and Materials question.

Hey, all,

If I instantiate an object, I assume it makes a new instance of the material too, right?

That being the case, would the object still be combined with others using the same material for dynamic batching, or do I need to create a shared material and assign this to my instantiated objects at runtime?

Cheers,

SB

If the GameObject you want to instantiate has a material assigned when you Instantiate the GameObject material will not duplicate because it’s not part of that GameObject…GameObject’s Dependencies are not duplicated when you use instantiate function…