Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X
Votes
0
Found in
2020.3.4f1
2020.3.39f1
Issue ID
UUM-13917
Regression
Yes
Project loading hangs when a Roslyn Analyzer is added to the project
Reproduction steps:
1. Unzip the attached folders “Coinmaster_UnityPR_2022notex.zip” and “StyleCop.zip”
2. Place “StyleCop” in the Assets folder of “Coinmaster_UnityPR_2022notex”
3. Open the “Coinmaster_UnityPR_2022notex” project
Expected result: The project opens
Actual result: The loading of the project hangs
Reproducible with: 2020.3.4f1, 2020.3.39f1
Not reproducible with: 2020.3.3f1, 2021.3.10f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a10
Reproducible on: macOS 12.4 (Intel)
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note:
From our investigation it seems like StyleCop is very very slow. On an "Empty project" with 1 script on a fast machine it took 1+ minutes for it to finish being compiled.
It could be that Microsoft/StyleCop made some changes, and it made it faster in newer versions, maybe report it to them to verify themselves?
Resolution Note (2020.3.X):
From our investigation it seems like StyleCop is very very slow. On an "Empty project" with 1 script on a fast machine it took 1+ minutes for it to finish being compiled.
It could be that Microsoft/StyleCop made some changes, and it made it faster in newer versions, maybe report it to them to verify themselves?