Search Issue Tracker
Fixed
Fixed in 6000.0.32f1, 6000.1.0a8
Votes
16
Found in
6000.0.26f1
6000.1.0a3
Issue ID
UUM-86948
Regression
Yes
Repeated warnings appear when applying Lit Material to "SpriteRenderer" in 3D project
Reproduction steps:
1. Create a new 3D URP project
2. In the Assets Window, create a new Material
3. In the Hierarchy Window, create an Empty GameObject
4. In the Inspector Window, attach the “SpriteRenderer” Component to the previously created GameObject
5. In the Inspector Window, for the “SpriteRenderer” Component set any Sprite, and set the Material previously created
6. Observe the result
Expected result: The warning appears only once, when the material is applied on a “SpriteRenderer” Component
Actual result: The warning constantly appears in the console after applying the material, entering Play Mode, exiting Play Mode, baking, saving the scene
Reproducible in: 6000.0.19f1, 6000.0.27f1, 6000.1.0a4
Not reproducible in: 2021.3.46f1, 2022.3.52f1, 6000.0.18f1
Reproducible on: macOS 14.6.1 (M1 Pro), Windows 10 (user)
Not reproducible on: No other environments tested
Notes:
- Having GameObjects with different Lit Materials applied multiplies the amount of warnings in the Console
- Reproducible in 3D projects only
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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
Resolution Note (fix version 6000.1.0a8):
Fix for this issue is available on Unity 6000.1.0a8 and above
Resolution Note (fix version 6000.0.32f1):
Fix repeated warnings appear when applying Lit Material to "SpriteRenderer" in 3D project.