Enemy Ragdoll Texture changes all my non-Enemy Unit textures as well

When I create a prefab variant of the UnitRagdoll for the Enemy, any texture changes in my Enemy prefabs, changes the texture of my base Unit prefab as well, but not the Enemy prefab.

When you make texture changes on the material in the prefab inspector, you’re changing the values in the material itself, which is shared by every other instance that uses that same material. It’s a shared resource. The correct way to change colors at design time is to create a new material (just duplicate it) and make changes to that material, and then assign that material to the MeshRenderer’s material field.

1 Like

Thanks so much, that was it!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms