Skip to main content
4 of 4
Don't repeat tags in the title
DMGregory
  • 141k
  • 23
  • 258
  • 401

Material changes to "material (instance)" on Start

Not sure why my materials started doing this, but when I press play, all materials on my models change to "materialName (Instance)".

Inspector screenshot showing _Main Lit (Instance)

I use the same material for several objects, and for some it adds (Instance), and for some it does not.

Turns out that since I wanted to modify the material at runtime, it created an instance, which makes a lot of sense. So then my questions is, what are the downsides of this? Does it affect performance?

I only have 1 material for my entire game, so I batch probably 95% of my draw calls, will this affect that?

Majs
  • 415
  • 2
  • 13
  • 35