Search Issue Tracker
Fixed
Fixed in 2021.3.21f1, 2022.1.12f1, 2022.2.0b4, 2023.1.0a5
Votes
1
Found in
2022.1.6f1
2022.2.0a17
2023.1.0a1
Issue ID
UUM-5942
Regression
Yes
IL2CPP build fails when using an assembly renamed via Sentry's assembly alias tool
Reproduction steps:
1. Download and open the attached project called: "unity_2022_1.zip"
2. Build the project
Expected result: Build succeeds without issue
Actual result: Build fails with the error "error: cannot initialize return object of type 'Il2CppFullySharedGenericAny *'"
Reproducible with: 2022.1.0a15, 2022.1.6f1, 2022.2.0a17, 2021.3.5f1 (with Faster (smaller) builds enabled)
Not reproducible with: 2019.4.40f1, 2020.3.36f1,, 2022.1.0a14
Notes:
- Reproduced on Ubuntu 18.04 and Windows 10
- User reported the issue being reproducible on macOS as well
- Not reproducible using Mono
- The built executable seems to be generated even if the build fails, but cannot be opened
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
ulaph
Sep 27, 2022 13:10
This issue can be reproduced on 2021.3.2f1 by setting "IL2CPP Code Generation" option "smaller (faster) builds".