Search Issue Tracker

Won't Fix

Votes

2

Found in

2018.2.7f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

Issue ID

1081225

Regression

No

Editor freezes when updating a NativeArray<Color32> on the .NET 4.x Scripting Runtime and Entering Play Mode a second time

Mono

-

How to reproduce:
1. Open the attached project ("case_1081225 TextureUpdater-master.zip") and open the "SampleScene"
2. Enter Play Mode and observe the result in the Game View
3. Exit Play Mode and edit the "TextureUpdaterExample" script's 81st line to "#if !UNITY_EDITOR"
4. Enter and exit the Play Mode twice

Expected result: Editor displays the same cube with the same visual effect as the first time
Actual result: Editor freezes when entering the Play Mode a second time

Reproduced in: 2019.2.0a3, 2019.1.0b1, 2018.3.3f1
Couldn't test with: 2017.4.19f1 (Couldn't enter the Play Mode due to multiple errors)

Comments (1)

  1. unity_etFF0NFhhcGSMQ

    Jun 21, 2020 17:36

    This issue is a problem when using winmm timers (e.g. communicating with midi devices).
    This issue happens 100% of the time for me. I have to remember to stop the running game before recompiling the code, or Unity will lock up.

Add comment

Log in to post comment

All about bugs

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