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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment