Search Issue Tracker
Fixed in 6000.0.37f1
Fixed in 6000.2.0a1
Votes
7
Found in
6000.0.23f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-83707
Regression
No
“InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
Reproduction steps:
1. Open the attached “repro_IN-85766“ project
2. In the Scene view overlay, expand the “Debug Draw Mode“ dropdown
3. Select “Custom → My Draw Mode“
4. Go out of the dropdown
5. In the Scene view overlay, press the “Debug Draw Mode“ button
6. Press the “Debug Draw Mode“ button again
7. Observe the Console
Expected result: No error is thrown and the "My Draw Mode" option is active again in the “Debug Draw Mode“ dropdown
Actual result: The “InvalidOperationException: Sequence contains no matching element“ error is thrown and the "My Draw Mode" option is not active in the “Debug Draw Mode“ dropdown
Reproducible with: 6000.0.23f1
Couldn’t test with: 2021.3.44f1, 2022.3.50f1 - The “Debug Draw Mode“ button doesn’t exist, there’s only the dropdown button, making it impossible to test this issue
Reproducible on: Windows 10 (22H2), Windows 11 (10.0.22631) (user’s)
Not reproducible on: No other environments 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
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
Resolution Note (fix version 6000.0.37f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587
Resolution Note (fix version 6000.2.0a1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587