Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.2.X, 2019.3.X
Votes
0
Found in
2018.3.0b12
2018.4.2f1
2019.2.0a1
2019.3.0a1
Issue ID
1175211
Regression
No
[IL2CPP] SafeHandle.ReleaseHandle never called in player when handle is created via PInvoke as an out parameter
Steps to reproduce:
1. Download attached project (SafeHandleRepro.zip)
2. Build an IL2CPP Standalone Build
3. Add a breakpoint in Test.cs at 60 line
4. Launch player and attached debugger to it
5. Close Player
Expected results: Breakpoint triggers
Actual results: Breakpoint never triggers
Reproduced with: 2019.3.0a12, 2019.2.1f1, 2018.4.6f1
Note:
- Not reproducible with Editor and in mono build
- In older then 2018.3.0b12 Unity versions build fails
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException error thrown when changing Scenes in Play Mode
- Crash on "'anonymous namespace'::ConvertFBXShapes" when importing an FBX file
- Crash on Transform::RemoveFromParent when Object.DestroyImmediate() is called on Transform
- [Linux] Player consumes more CPU resources when it is running in the background
- Save process is triggered every time when prefab property values are changed by dragging
Add comment