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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587