Search Issue Tracker

Active

Under Consideration for 2022.3.X

Votes

0

Found in

2022.3.21f1

2023.2.13f1

2023.3.0b10

6000.0.0b11

Issue ID

UUM-65598

Regression

No

[IL2CPP] Building fails when local functions in method with SystemAPI() are used

--

-

Reproduction steps:
1. Open the attached project “ReproProject”
2. Ensure that IL2CPP is used as the Scripting Backend (menu: Edit > Project Settings > Player > Other Settings > Configuration)
3. Build the project
4. Observe the building process

Expected result: The app is built successfully
Actual result: Building fails with the error “ C2039: '___TypesData': is not a member of 'TypeHandle_t6106DE4ED0791589ED302684C355A82991289613"

Reproducible with: 2022.3.21f1, 2023.2.13f1, 2023.3.0b10
Couldn’t test with: 2021.3.36f1 (user script error)

Reproducible on: Windows 11 23H2, macOS 14.2.1 23C71 Darwin 23.2.0 (by user)
Not Reproducible on: No other environment was tested

Notes:
- Not Reproducible when using Mono-scripting backend
- Reproducible when building for Android platform

Full error:
{{Build completed with a result of 'Failed' in 219 seconds (219234 ms) Building Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\f90lngwrjeok.obj failed with output: Assembly-CSharp.cpp C:\Users\ta\Documents\IN-cases\IN-68479_IL2CPPIssue\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Assembly-CSharp.cpp(2022): error C2039: '___TypesData': is not a member of 'TypeHandle_t6106DE4ED0791589ED302684C355A82991289613' C:\Users\ta\Documents\IN-cases\IN-68479_IL2CPPIssue\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Assembly-CSharp.cpp(655): note: see declaration of 'TypeHandle_t6106DE4ED0791589ED302684C355A82991289613'}}

Comments (1)

  1. ronniedrye019

    Mar 05, 2024 08:28

    I think I have been scammed by Bitmartsd.com. I was invited to trade at bitmartsd.com and I transferred funds (86,000 USD) there. They said I have to transfer another 5000 USD after seeing a supposed profit of 44,000 USD added to my initial capital or else they will block my funds which I did and I was asked to transfer another 10,000 USD then I started suspecting it to be a scam, the website also looks much simpler than the bitmart.com website. I did my research and came in contact with “R e c o v e r y c o in g r o u p a t g m a i l d o t c o m” who recovered all my funds in less than 72 hours. Although it wasn’t free, it was worth it. I promised to let everyone know about the Recovery Coin Group (RCG). I strongly recommend RCG.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.