Search Issue Tracker
Fixed in 6000.0.37f1
Fixed in 6000.1.0b5
Votes
0
Found in
6000.0.26f1
6000.1.0a3
Issue ID
UUM-87073
Regression
No
InvalidOperationException is thrown and the Scene view does not change when enabling Custom Debug Draw Mode/Camera Mode
Reproduction steps:
1. Open the attached “BugCustomDrawModeExeption.zip” project
2. Open the “SampleScene”
3. In the Scene view toolbar, click on ‘Debug Draw Mode’ (The bug icon)
4. Observe the Console and the Scene view
Expected result: The draw mode is enabled and no errors
Actual result: The draw mode is not enabled and “InvalidOperationException: Sequence contains no matching element” error
Reproducible with: 6000.0.26f1, 6000.1.0a3
Couldn’t test with: 2021.3.46f1, 2022.3.52f1 (The custom Camera Mode did not work at all or worked inconsistently)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- The custom Camera Mode works at first, but after some time it just starts throwing exceptions
- The custom Camera Mode ('Positions As Colors') appears to work correctly if selected from the dropdown next to the ‘Debug Draw Mode’ icon (but is inconsistent)
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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Resolution Note (fix version 6000.0.37f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587
Resolution Note (fix version 6000.1.0b5):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587