Search Issue Tracker
Fixed
Fixed in 2022.2.9f1, 2023.1.0b5, 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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment