Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.2f1
Issue ID
1069595
Regression
No
[MAC] Unity crashes when a method imported with a DLLImport is called in OnDisable()
The crash is caused by the line BLEDeInitialise(ble); in the file BLE.cs, 53rd line.
How to reproduce:
1. Open the attached project named stripped.zip
2. Go to the Project tab -> Scenes and open SampleScene
3. Enter and exit Play Mode
Expected result: Editor keeps working
Actual result: Editor crashes
Reproduced on: 2017.4.9f1, 2018.1.9f1, 2018.2.4f1, 2018.3.0a8
Could not test: 2017.1, 2017.2 (compiler errors)
Note: Not reproducible on Windows ("DllNotFoundException" error in Console)
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
- Warnings in the Bug Reporter window are cut off and not truncated when the Bug Reporter window is resized to its minimum size
- Color is incorrectly applied to objects when initialized with non-normalized parameters
- SerializationUtility.GetManagedReferencesWithMissingTypes() don't return null when “Prefab has missing SerializeReference Types“ warning banner is present
- Memory leak when VFX Graph is open and Camera has "Target Texture" enabled
- The Canvas component's warning box is missing an apostrophe when Additional Shader Channels is set to "Normal" and "Tangent" with Render Mode set to "Screen Space - Overlay"
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.