Unity Issue Tracker - “Recompile And Continue Playing” setting is ignored when the "Auto Refresh” setting is set to “Disabled”
Closed
UUM-27641
“Recompile And Continue Playing” setting is ignored when the "Auto Refresh” setting is set to “Disabled”
Unity: Asset - Database
As Designed
2023.1.X
2022.2.X
2022.1.X
2021.3.X
2020.3.X
This is expected behavior. A refresh is needed for the editor to pick up changes.
Reproduction steps:
1. Open the “TestRecompileAfterPlaying” Project
2. Open the “Assets/Test.unity” Scene
3. In the top menu open Unity → Settings Window
4. Under the “General” section set “Script Changes While Playing” to “Recompile And Continue Playing”
5. Under the “Asset Pipeline” section set “Auto Refresh” to “Disabled”
6. Enter the Play Mode
7. Open the “Assets/Test.cs” script and uncomment line 11 to produce an error in the script and save it
Expected results: The script is recompiled and an error is thrown
Actual results: The script is not recompiled