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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
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.