Perhaps a bug? Or maybe I am doing it wrong? I set a texture on the material of a DecalProjector from script using material.SetTexture. No result. I check the inspector for the material and I clearly see the texture that I've just set. I click ANY setting in the inspector for the material and BOOM the texture is applied and I see the result in the scene. So I looked at DecalProjectorEditor.cs in the hope that I would find some magic function that is called around EditorGUI.EndChangeCheck() that would update some magic undocumented state in the decalprojector. But I found none. So. What is the corret way of setting the texture of a decal projector from script in HDRP (v. 12.1)? EDIT: I also tried calling OnValidate on the DecalProjector using reflection after setting the texture on the material. No luck.