Search Issue Tracker
By Design
Votes
0
Found in
2020.3
2021.2
2021.2.10f1
2022.1
2022.2
Issue ID
1403559
Regression
No
Suppressed warning is logged to the Console when using Roslyn DiagnosticSuppression
How to reproduce:
1. Open the user's attached project
2. At the top of the Editor, go to Compilation -> Run
3. Observe the Console
Expected result: no warning is logged to the Console
Actual result: warning CS0649 is logged to the Console
Reproducible with: 2020.3.30f1, 2021.2.13f1, 2022.1.0b9, 2022.2.0a5
Could not test with: 2019.4.36f1 (error CS0117: 'ScriptCompilationSettings' does not contain a definition for 'extraScriptingDefines')
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
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Resolution Note (2022.2.X):
https://github.com/dotnet/roslyn/blob/main/docs/compilers/Rule%20Set%20Format.md
Setting the SuppressionDescriptor to "None" will basically overrule it, and it will basically become disabled.