Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.3.20f1
2022.2.11f1
Issue ID
UUM-32054
Regression
No
[HDRP] Decal Projector with layer mask "nothing" doesn't affect transparent objects when Decal Layers are disabled in frame settings
Repro steps:
- Open scene in attached project
- In HDRP Global Settings / Frame Settings / Camera, enable / disable "Decal Layers"
!image-2023-03-30-14-09-31-075.png!
Result : Transparent objects don't recieve decal, even when "Decal Layers" is disabled.
Expected : The decal projector layer mask is set to "nothing". When "Decal Layers" is disabled in the frame settings, the value of the decal projector should be ingored and it should be projected on the transparent objects.
Note : If the "Decal Layers" feature is disabled on the HDRP assets, it works like expected.
Reproduces with : 2021.3.20f1 LTS , 2022.2.11f1
Doesn't reproduce with : 2023.1.0b8, 2023.2.0a8
This PR might have fixed the issue as a side effect for 2023.x : https://github.cds.internal.unity3d.com/unity/unity/pull/10572
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
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Resolution Note:
fixed starting from 23.1
should be pretty simple to fix by adding _EnableDecalLayers check in the constant buffer but since it's very minor and has always been like that, we'll not fix it