Search Issue Tracker
Fixed
Fixed in 2021.3.9f1, 2022.1.14f1, 2022.2.0b1, 2023.1.0a1
Votes
0
Found in
2022.2.0a13
2023.1.0a1
Issue ID
UUM-3560
Regression
Yes
[Roslyn Analyzers] Analysis is not performed when a ruleset file is modified
Reproduction steps:
1. Open the user's attached project
2. Open Assets/Scripts/Default.ruleset
3. In Visual Studio expand Microsoft.Unity.Analyzers
4. Modify a rule action (i.e. change rule UNT0020 from "Warning" to "None")
5. Save and go back to Unity Editor
6. Observe the Console window
Expected result: Two warning messages are printed to the console
Actual result: No warning messages are printed to the console
Reproducible with: 2019.4.38f1, 2020.2.0a16, 2021.1.0a3, 2021.3.2f1, 2022.1.0f1, 2022.2.0a13
Not reproducible with: 2020.2.0a17, 2020.3.34f1, 2021.1.0a2
Warning messages:
warning UNT0001: The Unity message 'Start' is empty.
warning UNT0001: The Unity message 'Update' is empty.
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
- Render Graph Execution errors when using GPU occlusion culling with 'Opaque Objects' frame setting disabled on a Camera
- Animator window: “Delete” menu item not greyed out for Base Layer context menu
- Resetting “PC_RP Asset (Universal Render Pipeline Asset)” causes Game view to become black and throws Renderer and NullReference errors in the Console window
- [Mobile] Player Crash on scripting_invoke_profiler_begin when the built Player Scene has an empty UIDocument and is built on IL2CPP
- Unnecessary Warnings are logged when running Player with -batchmode -nographics
Resolution Note (fix version 2022.1.14f1):
Fixed in: 2022.1.14f1
Resolution Note (fix version 2021.3.9f1):
Fixed in: 2021.3.9f1