Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.2.0f2
Issue ID
1065590
Regression
No
Editor hangs when a native DLL uses Windows PPL (Parallel Patterns Library) for Multithreading
Steps to reproduce:
1. Open User-supplied project* ("Sensor Test.zip")
2. Play and stop Scene ("SampleScene")
3. Play the Scene again
Expected: the Scene starts
Actual: Unity Editor hangs
Reproduced in: 2017.1.5f1, 2017.2.3p2, 2017.3.2f1, 2017.4.9f1, 2018.1.9f1, 2018.2.4f1, 2018.3.0a9
Note:
*The user also added a zip file of some native functions. ("NativeFunctions.zip")
Not sure about the importance of them, since the bug replicates without them.
Attaching an Editor.log, seems that the freeze occurs at 'Begin MonoManager ReloadAssembly'
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
This library creates a native thread which is blocking and cannot be aborted when the mono appdomain shuts down... causing mono to wait on it that thread to exit indefinitely. This is an issue with the library being used, and not something we can/will fix.