Search Issue Tracker
By Design
Votes
1
Found in
2022.3.9f1
2023.1.12f1
2023.2.0b9
2023.3.0a4
Issue ID
UUM-48561
Regression
No
Error "cannot convert 'ToHit_t3AF3ABD05F25D743CB5F55EF5822A7984E3C71CA' to 'int32_t'" is thrown when using IL2CPP Scripting Backend and building with Android Platform selected
How to reproduce:
1. Open the "IN_52744" project
2. Open Build Settings and select the Android Platform
3. In the Build Settings press Build
Expected result: project build is successful
Actual result: build failed with the following error "error: cannot convert 'ToHit_t3AF3ABD05F25D743CB5F55EF5822A7984E3C71CA' to 'int32_t' (aka 'int') without a conversion operator return static_cast<int32_t>(___0_instance);"
Reproducible with: 2022.3.9f1, 2023.1.12f1, 2023.2.0b9, 2023.3.0a4
Couldn't test with: 2021.3.30f1 (due to errors in the Console)
Reproducible on: Windows 10 Pro
Not reproducible on: no other environment tested
Notes:
- Not reproducible with Mono Scripting Backend
- Not reproducible on Windows Standalone Platform (didn't test other Platforms because it takes too much time to build)
Full error:
"C:\Users\danielius.pliuskys\Desktop\New folder (32)\Library\Bee\artifacts\Android\il2cppOutput\cpp\GenericMethods__19.cpp(30045,9): error: cannot convert 'ToHit_t3AF3ABD05F25D743CB5F55EF5822A7984E3C71CA' to 'int32_t' (aka 'int') without a conversion operator
return static_cast<int32_t>(___0_instance); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
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
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Resolution Note:
This error was due to an issue in the submitted project