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

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

  1. Resolution Note:

    Unity will support this behavior when IL2CPP is switched to use the CoreCLR base class library implementation.

  2. Resolution Note (2020.3.X):

    Unity will support this behavior when IL2CPP is switched to use the CoreCLR base class library implementation.

Add comment

Log in to post comment