Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.66f1

6000.3.5f1

6000.4.0b5

6000.5.0a5

Issue ID

UUM-132637

Regression

No

"NullReferenceException" error is thrown when changing input field focus via script with custom validation

uGUI Controls

-

How to reproduce:
1. Open the attached “IN-131375” project
2. Build and run for Android or iOS
3. Tap on one of the input fields
4. Press spacebar on the device keyboard
5. Observe logcat or Xcode

Actual result: An NRE error is thrown
Expected result: No errors are thrown

Reproducible with: 2023.1.0a3, 6000.0.66f1, 6000.3.5f1, 6000.4.0b5, 6000.5.0a5

Reproducible environment: macOS 26.2 (M1 Pro)

Reproducible devices:
VLNQA00375 - Galaxy S21 Plus 5G (SM-G996U), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00041 - Samsung Galaxy S8 (SM-G950F), CPU: Exynos 9 Octa 8895, GPU: Mali-G71, OS: 9
VLNQA00466 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00472 - Samsung Galaxy A52 (SM-A525F), CPU: Snapdragon 720G (SM7125), GPU: Adreno 618, OS: 12
VLNQA00642 - Google Pixel 9a (Pixel 9a), CPU: Tensor G4, GPU: Mali-G715, OS: 15
VLNQA00632 - iPhone 16e (MD1Q4QN/A), CPU: t8140, OS: 18.3

Notes:
- Does not reproduce in the Editor or the Player (macOS)
- Error thrown: “NullReferenceException: Object reference not set to an instance of an object.”

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.