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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.