Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.3.0f3

Issue ID

984514

Regression

No

Transform.IsChildOf throws NullReferenceException with null argument instead of ArgumentException

Scripting

-

Steps to reproduce:
1. Open attached “NullReferenceException.zip” Unity project
2. Open “Main” scene
3. Enter Play mode

Expected results:
ArgumentException is thrown
Actual results:
NullReferenceException is thrown

Reproduced in: 2018.1.0b1, 2017.3.0p1, 2017.2.1p1, 2017.1.3f1, 2017.1.0a1

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.