Search Issue Tracker
Won't Fix
Votes
1
Found in
2022.3.1f1
2023.1.0b20
2023.2.0a18
Issue ID
UUM-38081
Regression
No
.editorconfig files are ignored when a Roslyn analyzer is running through the Editor
Reproduction steps:
1. Open the "IN-42066.zip" project
2. Observe the Console
Expected result: RCS1213 is thrown only once
Actual result: RCS1213 is thrown twice
Reproducible with: 2022.3.1f1, 2023.1.0b20, 2023.2.0a18
Could not test with: 2021.3.27f1 (No errors are thrown)
Reproducible on: Windows 10
Note: Error must be thrown once because the "roslynator_suppress_unity_script_methods" flag is set to “true” in the ".editorconfig" file but two errors are thrown because of the “Assets/Scripts/Scripts.ruleset” file
Comments (1)
-
NoTuxNoBux
Jun 08, 2023 12:50
Bummer that it won't be fixed. I understand the reasoning, but this effectively results in our upgrade path to 2022.3 from 2021.3 being blocked, since we use Roslyn analyzers this way extensively (Roslynator doesn't even support configuring through XML any more in recent versions for some options) and in 2021.3 we could disable them in editor. Since the option to disable has been fully removed in 2022, we are blocked from entering play mode due to incorrectly reported errors.
As a workaround we'll have to downgrade them to warnings or find another creative solution where we drop support for Unity's Roslyn analyzers and only load them in our IDE (for OmniSharp).
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
We do not currently support editorconfig files.