Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0b5
Issue ID
874283
Regression
Yes
After deletion of UI Dropdown element NullReferenceException: (null) is thrown when entering Play mode
To reproduce:
1.Create new Unit project.
2.Create Dropdown UI element.
3.Change it's Image component's Source image property from UISprite to Knob.
4.Enter Play mode.
5.Exit Play mode.
6.Delete Dropdown element from the Hierarchy.
7.Enter Play mode.
Expected result: No error in the console being thrown.
Actual result: NullReferenceException: (null) error is thrown in the console.
Reproduced with: 5.6.0b5, 5.6.0b6
Not reproduced with: 5.5.0p4, 5.4.4f1
Notes: Exception is thrown when Source image property is changed to any other than UISprite. When project is re-loaded error disappears.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
Add comment