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

Unity - Material changes to "material (instance)" on Start

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

enter image description hereInspector screenshot showing _Main Lit (Instance)

I use the same material for several objects, and for some it adds (instanceInstance), 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? doesDoes it effectaffect performance?

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

Unity - Material changes to "material (instance)" on Start

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)".

enter image description here

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 effect performance?

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

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?

added 249 characters in body
Source Link
Majs
  • 415
  • 2
  • 13
  • 35

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)". What is causing this? What does it do? What are the up/down sides?

enter image description here

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 effect performance?

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

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)". What is causing this? What does it do? What are the up/down sides?

enter image description here

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

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)".

enter image description here

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 effect performance?

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

added 106 characters in body
Source Link
Majs
  • 415
  • 2
  • 13
  • 35

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)". What is causing this? What does it do? What are the up/down sides?

enter image description here

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

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)". What is causing this? What does it do? What are the up/down sides?

enter image description here

Not sure why my materials started doing this, byt when I press play, all materials on my models change to "materialsName (instance)". What is causing this? What does it do? What are the up/down sides?

enter image description here

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

Source Link
Majs
  • 415
  • 2
  • 13
  • 35
Loading