Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2021.2
2022.1
Issue ID
1373608
Regression
No
C# Assembly .sln file is empty when no C# files are present in the project
How to reproduce:
1. Open the attached project "vsRepro"
2. In the top menu bar, go to Assets > Open C# Project
3. Inspect the newly opened code editor window
Expected result: Project files can be accessed
Actual result: Project files cannot be accessed
Reproducible with: 2019.4.33f1, 2020.3.24f1, 2021.2.6f1, 2022.1.0b1
Notes:
1. Reproduced using Visual Studio for Mac
2. Creating an empty C# Script fixes this behavior
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
We only generate csproj's that contain a C# script. The reason is that we generate csproj's based on what will be compiled.
We do not compile empty assemblies.
We will maybe look into this entire issue at a later point.