Search Issue Tracker
By Design
Votes
1
Found in
6000.0.50f1
6000.1.4f1
6000.2.0b3
6000.3.0a1
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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