Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.2.0a6
2021.2.3f1
2022.1
2022.2
Issue ID
1387808
Regression
Yes
Sprite Texture gets unassigned when entering Play Mode
How to reproduce:
1. Open the attached "1387808.zip" project
2. Open the "StartupScene" Scene
3. Select the "_GameController" GameObject in the Hierarchy
4. Expand the "Gloam Core Objects (Script)" Component
5. Assign the "DialogMenuThinBackMask" Sprite to the "Powerup Info Mask" field and save
6. Enter Play Mode
Expected result: The Sprite stays assigned
Actual result: The Sprite gets unassigned
Reproducible with: 2021.2.0a6, 2021.2.15f1, 2022.1.0b11, 2022.2.0a9
Not reproducible with: 2020.3.31f1, 2021.1.28f1, 2021.2.0a5
Couldn't test with: 2019.4.36f1 (Package errors regarding custom assets and URP connection is preventing repro)
Note: Script is dependent on custom packages impossible to test on new projects even with packages imported
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
Resolution Note:
The Inspector element glitched out therefore it showed the Sprite Texture as not assigned, however, the internal code of the Scene shows that it is still assigned. Closing as Not Reproducible due to this issue only happening on the initial test and after reopening the project the issue is no longer reproducible.