Search Issue Tracker
Fixed
Fixed in 6000.5.0a9, 6000.6.0a1
Votes
0
Found in
6000.0.68f1
6000.3.10f1
6000.4.0b10
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134887
Regression
No
Crash on FindNearestVertex when objectsToSearch array contains a null transform
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [LinuxEditor] Crash on "XAddExtension" when opening the Unity Editor on Linux with -batchmode and -nographics on a project with a custom default cursor
- Folder attachment size is displayed as 0 bytes when a folder is added to the Hub bug reporter's attachments
- Play Mode framerate drops significantly when moving the mouse cursor with high polling rate
- Create workspace does not update the Unity Version Control and Branch Explorer windows leading to multiple clicks on “Create workspace” which throws an “already exists” error when Creating a workspace with the Branch Explorer window open
- Default and Result encoding properties have blank dropdowns by default when opening the Unity Version Control Settings
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.5.0a9):
Fixed in 6000.5.0a9