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
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
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