Search Issue Tracker
Feature Request
Votes
1
Found in
2021.3.15f1
Issue ID
UUM-21590
Regression
No
[HDRP] Decal Projector is not instantiating its own material during runtime
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
{noformat}
DecalProjector.material{noformat}
The behaviour should be similar to the Renderer apis:
{code:java}
Renderer.material
Renderer.sharedMaterial{code}
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.
-
scourgey
Jun 14, 2023 16:53
If I try and create a new material instance for a specific decal it does not allow it, voiding most of the documentation, thus making this a bug and not a feature request.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
- Text field does not disappear if Ctrl+Z is pressed while editing in Viewport
Resolution Note:
This is a feature request and will be treated as such