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
- [Linux] Screen.SetResolution immediately applies windowed resolution when switching from Fullscreen to Windowed mode
- Lighting window allows non-cube map texture for Environment Reflections, throwing invalid texture type (2D) error
- Console warning “MismatchingRepositoryProjectMessage” when creating a new Unity Version Control workspace
- [Ubuntu] VFX Graph Enum Value menu stretches across screen when entered long Enum Value
- Unclear warning message in Rendering Debugger about the Play mode Debugger Overlay
Add comment