Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
1
Found in
2021.2.0a21
2021.3
2021.3.0f1
2022.1
2022.2
Issue ID
1420369
Regression
Yes
[Mobile] [IL2CPP] Build fails when using custom script and target architecture ARM64 is selected
How to reproduce:
1. Download the attached project 'AndroidBeeTest.zip'
2. Make sure ARM64 target architecture is selected in Android Player Settings
3. Build the APK or AAB
4. Observe the Console when build finishes
Expected result: Console shows that project was successfully built
Actual result: Console shows build error 'cast from pointer to smaller type 'int32_t' (aka 'int') loses information'
Reproducible with: 2021.2.0a21, 2021.3.1f1, 2022.1.0b16, 2022.2.0a11
Not reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.2.0a20
Notes:
- Reproducible on Android and iOS
- Reproducible if ARM64 target architecture is selected (does not matter if ARMv7 is selected or not)
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
- [URP] Exceeding the platform's supported light limit gives shadow distortion when using Deferred Rendering Path
- URP Sample Buffer Image Tile is moved when the Offset Value is changed
- Static constructor in a struct returns false when running tests with IL2CPP
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.4f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.4f1