Search Issue Tracker

Fixed in Unity 2018.2

Votes

0

Found in

2018.2.0a5

Issue ID

1016186

Regression

Yes

Building right after fixing errors in script causes compiler errors to linger until next script reload

Scripting

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Steps to reproduce:
1. Open attached "ScriptReload.zip" Unity project
2. Open "Test.cs" script
3. Fix error in script by adding ";" in line 8
4. Save script
5. "Build & Run" in Editor immediately after saving script

Expected results:
Script reload is not interrupted
Actual results:
Build fails and causes compiler error to linger until next script reload

Reproduced in: 2018.2.0a5, 2018.1.0b12, 2017.3.1p4, 2017.2.2p1, 2017.1.3p2, 2017.1.0b1, 2017.1.0a3
Didn't reproduce in: 2017.1.0a2, 2017.1.0a1, 5.6.5p3
Regression introduced in: 2017.1.0a3

Fixed in: 2018.2.0b1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.