Copyright © 2026 Unity Technologies
From forum thread : https://forum.unity.com/threads/how-to-change-decal-color-at-runtime-hdrp.635023/
The Decal Projector is not instantiating its own material when calling
DecalProjector.material
The behaviour should be similar to the Renderer apis:
Renderer.material Renderer.sharedMaterial
Where .sharedMaterial returns the original material, and .material will create an instance of the material if needed and return it.
This makes the code easier to write for users, and also avoid to manipulate the referenced material asset by error.
Issues you vote on will appear here