Search Issue Tracker
By Design
Votes
1
Found in
6000.0.50f1
6000.1.4f1
6000.2.0b3
6000.3.0a1
7000.0.0a35
Issue ID
UUM-107476
Regression
No
“GetAllOverlapping failed…” error when clicking a GameObject during a custom picking pass in the Scene view for the second time
Reproduction steps
1. Open the attached “IN-102642.zip” project
2. Open the “ReproduceBugScene” Scene
3. From the Hierarchy, locate the “WrongBehaviour” GameObject
4. In the Scene view, click on the “WrongBehaviour” GameObject
5. Observe no errors in the Console
6. Repeat the 4th step
7. Observe the Console
Expected result: No errors are thrown on subsequent clicks
Actual result: “GetAllOverlapping failed, could not ignore game object 'WrongBehaviour (UnityEngine.GameObject) (0)' when picking UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()” error is thrown
Reproducible with: 6000.0.50f1, 6000.1.4f1, 6000.2.0b3
Couldn’t test with: 2022.3.62f1 (Assets\PickingTest.cs(32,13): error CS0246:…)
Reproducible on: Windows 10 (User reported), Windows 11
Not reproducible on: No other environment tested
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
- Dragging and dropping a system that contains event context to create nested VFX crashes the editor
- TextMeshPro UV2 custom data not rendering for off-screen text with RectMask2D in Unity 6
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
- UITK TextField value is overwritten incorrectly by the converter result when Binding Mode is set to "To Source"
Resolution Note:
The error is from is from incorrect usage in the user project. When using a custom picking pass, the user must check all pickable GameObjects against the exclude list of `RenderPickingArg`, but the for loop in `PickingTest.OnRenderPicking` is skipping the first game object. Furthermore, `PickingUtility.TryGetMeshAndMaterial` should call `gameObject.TryGetComponent` rather than `GetComponent` to avoid error messages when calling on a game object without these components.
Resolution Note:
Postpone for 7