Search Issue Tracker
Fixed
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587