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
- Greyed out Icon for Tool Context is misaligned in the Tools Overlay in the URP 3D Sample Template
- HDR colors are recorded in gamma compressed values instead of linear values when using the Animation window
- Scroll bar fails to resize when content is dynamically removed in Player or Play Mode
- Error "Shader error in 'Shader Graphs/ScrollingHologram_Graph" when switching HDR Debug Mode to Gamut View
- "Unable to add Renderer to the Scene after Culling.“ and “NullReferenceException: Object reference not set to an instance of an object“ errors spawned when changing the light shadow settings in the Player
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?