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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.