Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.4
2019.4.28f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1342170
Regression
No
Folder hierarchy not shown in Visual Studio Solution Explorer when a package is referenced on disk outside the Unity project
How to reproduce:
1. Open the attached project's "case_13427170-Project.zip"
2. In the Project Window, open any of the Scripts (to open the Solution Explorer)
3. In the Visual Studio's Solution Explorer, view the package Assembly that's outside the Unity project
Expected result: Hierarchy with folders and scripts is listed
Actual result: Only files are listed
Reproducible with: 2019.4.28f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b2, 2022.1.0a2
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
- A "Could not generate preview image" error is shown in the Console window when viewing a ".androidlib" asset
- Call stack hyperlinks become unclickable when scrolled down in the Console window
- Package files do not get checked out in Perforce when the project includes a provider callback
- VFX throw errors upon importing it
- "NullReferenceException" error is thrown when swapping between built-in and URP depending on assets loaded out of asset bundles
Resolution Note:
Unfortunately, this is a limitation of Visual Studio itself: when a csproj references files that are not within the project directory, it can't produce a directory tree in the solution explorer.