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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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