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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment