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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment