Search Issue Tracker
Fixed
Votes
0
Found in
2022.2.5f1
2023.1.0b2
Issue ID
UUM-26206
Regression
Yes
NullReferenceException is thrown when setting the sprite of a UI Image and the associated texture has been destroyed
Reproduction steps:
1. Open project “ImageSprite”
2. Open scene “SampleScene”
3. Enter Play mode
Expected result: no errors are thrown in the Console
Actual result: NullReferenceException is thrown in the Console
Reproducible with: 2022.1.0a7, 2022.2.5f1, 2023.1.0b2
Not reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.1.0a6
Reproducible on: macOS Catalina 10.15.7 (Intel)
Note: also reproducible with Standalone build
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
- “[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
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-13053