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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment