Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X
Votes
0
Found in
2020.3.45f1
Issue ID
UUM-29636
Regression
No
[IL2CPP] AutoResetEvent.Handle returning wrapper to handle and not handle when building with il2cpp
How to reproduce:
1. Download and open the attached project
2. Build the project
2. Open Build\UnityAutoResetEvent_BackUpThisFolder_ButDontShipItWithYourGame\il2cppOutput\mscorlib7.cpp
3. Go to line 17488
4. Observe the IL_001f block of code found there
Expected outcome: The code should return a handle
Actual outcome: The code returns a wrapper to the handle and not a handle
Reproduced with: 2020.3.45f1, 2021.3.17f1, 2022.2.6f1, 2023.1.0b3, 2023.2.0a1
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Unity will support this behavior when IL2CPP is switched to use the CoreCLR base class library implementation.
Resolution Note (2020.3.X):
Unity will support this behavior when IL2CPP is switched to use the CoreCLR base class library implementation.