Search Issue Tracker
Fixed
Fixed in 2021.3.33f1, 2022.3.15f1, 2023.2.1f1, 2023.3.0a16, 7000.0.0a1
Votes
0
Found in
2021.3.31f1
2022.3.10f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52898
Regression
No
Structure with CharSet.Auto prevents project build when IL2CPP is selected
How to reproduce:
1. Open the attached project “StructBug”
2. Build And Run the project
Expected result: The build is successful
Actual result: The build fails with “Building Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\94fkllbqrvfh.obj failed with output: Il2CppCCalculateTypeValues.cpp” error
Reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Reproducible on: Windows 11 Pro
Not reproducible with: No other environment tested
Full error:
Building Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\94fkllbqrvfh.obj failed with output:
Il2CppCCalculateTypeValues.cpp
C:\Users\Desktop\Cases\IN-55352_Il2CppTest\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Il2CppCCalculateTypeValues.cpp(37855): error C2065: 'SomeStruct_t7B03F5B1FA7563B4C6F0EB378AA62A87BEF2C37D_marshaled_pinvoke': undeclared identifier
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
Add comment