Search Issue Tracker
Won't Fix
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
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
- Opening reference for Audio Importer opens missing page
- [Android] SpriteAtlas gets corrupted in Player when using Late binding with SRP Batcher enabled
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?