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
- VisionOS Player and Simulator crashes on "nw_read_request_report [C1] Receive failed with error "No message available on STREAM"" when playing a video through VisionOSVideoComponent
- Shader starts acting unexpectedly when SV_primitiveID is used in a Hull/Domain Shader
- [iOS] "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously when using specific Project Settings and Anti-aliasing is enabled
- Inconsistent help box font size in Project Settings window
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
Resolution Note:
This error was due to an issue in the submitted project