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
- 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:
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?