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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Add comment