Search Issue Tracker
Won't Fix
Votes
1
Found in
6000.0.53f1
6000.1.11f1
6000.2.0b9
6000.3.0a1
6000.4.0a1
Issue ID
UUM-111628
Regression
Yes
NullReferenceException occurs when trying to access TouchScreenKeyboard properties
How to reproduce:
1. Extract and open the attached “IN-106730.zip“ project
2. Enter Play mode
3. Select Game View
4. Press the Spacebar
5. Observe the Console
Expected Result: No error messages appear
Actual Result: Multiple “NullReferenceException” messages appear
Reproducible with:
2023.2.0a5, 6000.0.53f1, 6000.1.11f1, 6000.2.0b9, 6000.3.0a1
Not reproducible with: 2021.3.53f1, 2022.3.64f1, 2023.2.0a4
Reproducible on: MacOS 15.5 Silicon
, Windows 11
Not reproducible on: No other environment tested
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
- "ArgumentException: Unknown Type:`UnityEngine.SkinnedMeshRenderer`" Error thrown when a Subscene is open in a Scene
- Editor freezes on "Postprocessing IL for Assembly-CSharp" when compiling a script with an InputAction object referenced in a Managed Component
- UnityYAMLMerge fails to merge on some computers when some specific files are used
- [Android] The application freezes during the AssetBundle loading
- PlaneOcclusionShader Properties foldout does not display any content
Resolution Note:
A fix for this issue would be complex and prone to regression. The issue can be circumvented by checking if TouchScreenKeyboard.isSupported prior to accessing it's properties. We've updated the documentation to reflect this behavior.