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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
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.