Search Issue Tracker

By Design

Votes

0

Found in

2020.3.40f1

2021.3.11f1

2022.1.18f1

2022.2.0b8

2023.1.0a10

Issue ID

UUM-15873

Regression

No

Files are not included in the “Assembly-CSharp.csproj” file when they are in the Editor folder

-

Steps to reproduce:
1. Open the user’s project
2. Notice the “IComponentEditor.cs” script at Assets → Physics → Editor
3. Open the project folder in Finder
4. Open the “Assembly-CSharp.csproj” file

Expected result: Line <Compile Include="Assets/Physics/Editor/IComponentEditor.cs" /> exists
Actual result: The line does not exist

Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.18f1, 2022.2.0b8, 2023.1.0a10

Reproduced on: macOS Monterey 12.5.1 (Intel)

Notes:
- The files do not get included in the “Assembly-CSharp.csproj” file only from the Editor folder
- It is reproducible with new files

  1. Resolution Note:

    This is by design, "Editor" is a special folder -https://docs.unity3d.com/Manual/SpecialFolders.html - and any files under it will be linked to "Assembly-CSharp-Editor" :)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.