Search Issue Tracker
Fixed in 4.3.X
Votes
0
Found in
4.2.0f4
Issue ID
557840
Regression
No
Shaders passes change order randomly for instantiated
Shaders passes change order randomly for instantiated material
To Reproduce:
1. Open the attached project & scene.
2. Enter and exit play mode a few times (>5).
3. Notice that the light rendering changes in some cases.
4. Open the PointLightRenderer.cs script
5. Change the line commented in Start () for the one _not_ commented (//Works)
6. Test again entering and exiting play mode. The problem does not reproduce. The difference is that one material is instantiated (bug) and the other one is referenced (works).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment