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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
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.