Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.0b17
Issue ID
798010
Regression
Yes
[5.4 regression][VR][2D] Sprites lose their materials when play mode is entered, due to sprite shader move
Steps to reproduce:
1. Open attached project and go to the scene named "DemoScene"
2. See "logo" sprite in the assets folder and place it on the scene so it would be visible through the Main Camera
3. Press play
4. Notice that sprite's material turns to pink color (see images attached)
5. Exit the play mode
6. Notice that the sprite is no longer visible on the scene, although it is visible through the camera (still with pink color)
Expected behavior: The sprite should always keep it's default material and stay in the scene after playmode exited
Actual behavior: Sprite's material turns to pink color after playmode entered
Reproduced on:
5.4.0b14, 5.4.0b18
Did not reproduce on:
5.4.0b1, 5.3.5p1, 5.3.4f1
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
- 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
This is a duplicate of issue #789063