Search Issue Tracker
Fixed
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
- TextShadow properties are not applied when displayed in a custom MenuItem Window
- Memory leak occurs when focused on Player while using Direct3D12
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-90587