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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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?