Search Issue Tracker
Won't Fix
Votes
5
Found in
5.5.1p2
Issue ID
878560
Regression
No
[iOS][webGL][UI][Dropdown] dropdown list doesn't close and elements of dropdown list cannot be deselected
Reproduction steps:
1. Create a new Unity project.
2. Click on the hierarchy with the right mouse button.
3. Select: UI > Dropdown.
4. Save the scene.
5. Build the saved scene for iOS or WebGL and launch the application.
6. Touch the dropdown list.
7. Try to select and unselect elements of the list.
- Elements are unselectable on iOS.
8 Try to close/shrink the list.
- List doesn't close on iOS and WebGL.
Reproduced with:
[iOS]
5.2.5f1, 5.6.0b8
iPhone 7+ iOS 10.2
IL2CPP, Mono2x
[webGL]
Chrome 56.0, Safari 10.0.3, Firefox 51.0.1
Not reproducible with:
Editor, OSX standalone, Android
Note:
Errors are thrown into an Xcode console (attached in the edit):
"NullReferenceException: A null value was found where an object instance was required.
at UnityEngine.UI.Dropdown.SetAlpha (Single alpha) [0x00000] in <filename unknown>:0
at UnityEngine.UI.Dropdown.Hide () [0x00000] in <filename unknown>:0
at ...
...
...
"
Workaround:
Disable "Strip Engine Code" in the Player Settings.
Comments (1)
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
- Line Brush blue outline appears at incorrect position when painting start of line in Tile Palette
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
Bandit-Development
Feb 27, 2017 21:41
In order for the workaround to "work" on iOS, you need to use IL2CPP Scripting Backend, then disable "Strip Engine Code" in the Player Settings.