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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.