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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.