Search Issue Tracker
By Design
Votes
0
Found in
2021.3.47f1
2022.3.55f1
6000.0.34f1
6000.1.0b1
6000.2.0a1
Issue ID
UUM-92258
Regression
No
Decal colors change when the position space changes from World to Object and the decal is at the world center
How to reproduce:
1. Open the “IN-92381-IN-92381-DecalCoordBug.zip“ project
2. Open the “DecalCoordBug“ Scene
3. Open the “MyDecal“ Shadergraph alongside the Game view
4. Change field “World“ to “Object“ in the Shadergraph window > Position node > Space
5. Save the Shadergraph changes and observe the Game view
Expected result: The decal colors stay the same
Actual result: The decal colors change
Reproducible in: 2021.3.47f1, 2022.3.55f1, 6000.0.34f1, 6000.1.0b1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- The Decal object is the default, so the Object and World spaces should match
- In HDRP the faulty behavior can also be observed, but it seems that the “World“ Space has a different behavior compared to URP
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
- TextMeshPro Shader "Mask" field does not update in Inspector when changing value
- Changing URP settings when a Shader Graph is open throws errors and renders the opened Shader Graph Asset useless
- GameObject cannot be renamed when right clicked and a different Editor window is in focus
- Objects are cleared when preloading a Pool during startup functions with Domain Reload disabled
- The text underline partially disappears when the bold effect is applied with certain fonts in the UI Builder
Resolution Note:
Thank you for reporting this bug with detailed information. However, to project decals on Z+ like a spotlight, Unity rotates the decal projector by 90 degrees on the X-axis. The decal projector created by the editor menu item (Rendering/URP Decal Projector) is rotated by 90 degrees on X by default. In this project, the object position does not match the world position since the decal projector object's rotation is identity. So after reviewing it, we’ve confirmed that it's as designed.
Again, thank you so much for taking the time to report this issue. If you come across anything else that seems like a bug in the future, please don’t hesitate to let us know again.