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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
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.