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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
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.