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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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