Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.3
2019.3.9f1
2020.1
2020.2
Issue ID
1237465
Regression
No
Scripts are not automatically recompiled after changing the apiCompatibilityLevelPerPlatform in the ProjectSettings.asset
How to reproduce:
1. Open user-submitted project (new test ITuple.zip)
2. Open the Project Settings > Player window
3. Check that the Api Compatibility Level is set to .NET 4.x
4. Open the project's ProjectSettings.asset
5. Change the apiCompatibilityLevelPerPlatform value for Standalone from '3' to '6' and save
Expected result: the Api Compatibility level changes in the Editor, scripts are recompiled and an error is thrown
Actual result: Api Compatibility level changes in the Editor, scripts are not recompiled unless manually reimported/a build is started
Reproducible with: 2018.4.21f1, 2019.3.10f1, 2020.1.0b5, 2020.2.0a7
Could not test with: 2017.4.39f1(only a single apiCompatibilityLevelPerPlatform option)
Notes:
Restarting the Editor does not update the scripts after Api Compatibility Level change either
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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
the editor recompiles the code when switching Api compability levels because it set the editor state as dirty manuially and there is no alternative for that when editing the ProjectSettings filed directly