Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.68f1

6000.3.10f1

6000.4.0b10

6000.5.0a7

Issue ID

UUM-134887

Regression

No

Crash on FindNearestVertex when objectsToSearch array contains a null transform

Scripting Runtime

-

How to reproduce:
1. Open the attached “IN-134197” project
2. Click on the Scene view
3. Observe the crash

Reproducible with: 2023.1.0a10, 6000.0.68f1, 6000.3.10f1, 6000.4.0b10, 6000.5.0a7

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: Sometimes the crash will occur upon opening the project

First few lines of the stack trace:
0x00007FFBACB47BD6 (Unity) FindNearestVertex
0x00007FFBAC7A172D (Unity) HandleUtility_CUSTOM_Internal_FindNearestVertex
0x000001E0E29649D5 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.HandleUtility:Internal_FindNearestVertex_Injected (intptr,UnityEngine.Vector2&,UnityEngine.Transform[],UnityEngine.Transform[],UnityEngine.Vector3&,bool&)
0x000001E0E296475B (Mono JIT Code) UnityEditor.HandleUtility:Internal_FindNearestVertex (UnityEngine.Camera,UnityEngine.Vector2,UnityEngine.Transform[],UnityEngine.Transform[],UnityEngine.Vector3&,bool&)
0x000001E0E2964643 (Mono JIT Code) UnityEditor.HandleUtility:FindNearestVertex (UnityEngine.Vector2,UnityEngine.Transform[],UnityEngine.Transform[],UnityEngine.Vector3&)

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.