Search Issue Tracker

Fixed

Fixed in 2021.3.44f1, 2022.3.47f1, 6000.0.20f1, 7000.0.0a1

Votes

0

Found in

2021.3.41f1

2022.3.40f1

6000.0.13f1

7000.0.0a1

Issue ID

UUM-77245

Regression

No

IL2CPP compiler errors when using explicit struct layout on classes with base types

--

-

How to reproduce:
1. Open the attached project "Il2cppTesting.zip"
2. Build the project

Expected results: The Build is successful
Actual results: Build fails with errors "___m_CachedPtr_0': is not a member of 'DataDef_tF1D37118C24F6918E35C503893E0B1A7E556C7C0_marshaled_pinvoke'"

Reproducible with: 2021.3.41f1, 2022.3.40f1, 6000.0.13f1

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

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.