Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a4
Issue ID
1185697
Regression
No
[Code Optimization] "Debug"/"Release" Mode not updated after Editor restart
Reproduction steps:
1. Open "optimization_tests.zip" project
2. "Preferences" -> "General" -> "Code Optimization on Startup" -> "Debug" (If it was already "Debug", switch to "Release" and back again)
3. In the Main Editor window, at the bottom right corner, press the Bug icon -> "Switch to release mode"
4. Wait for it to re-compile
5. Re-open the project
6. "Window" -> "General" -> "Test Runner"
7. Run EditMode test "IsDebugAssembly"
Expected Result: Test passes
Actual Result: Test fails as the script/assembly has not been recompiled at startup
Reproduced with: 2020.1.0a6, 2020.1.0a4
Could not reproduce on, because feature implemented only on 2020.1.0a4: 2020.1.0a3, 2020.1.0a1, 2019.3.0b4, 2019.2.7f2, 2018.4.10f1, 2017.4.32f1
Note:
To fix, a manual Reimport of the "Tests.cs" script is needed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment