Search Issue Tracker
Fixed in 2022.2.9f1
Fixed in 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a3
Votes
1
Found in
2022.2.4f1
2023.1.0b1
2023.2.0a1
Issue ID
UUM-25109
Regression
Yes
“MonoBehaviour” is not recognized in Script files when “additionalfile” parameter is used in “csc.rsp” file
Reproduction steps:
1. Open the attached project “NoMonoRepro”
2. In the Project window select “Assets/Test” script file
3. Look at the Inspector window
Expected result: Inspector window shows the “Test” script contents
Actual results: Inspector shows “No MonoBehaviour scripts in the file, or their names do not match the file name”
Reproducible with: 2022.2.0a3, 2022.2.4f1, 2023.1.0b1
Not reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.1.24f1, 2022.2.0a2
Reproducible on: macOS 13.1 (Intel)
Note: There is no repro if line 3 is commented or deleted in “Assets/csc.rsp” file
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment