Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note:
We do not currently support editorconfig files.
Resolution Note (2023.2.X):
We do not currently support editorconfig files.