Search Issue Tracker

Fixed

Fixed in 2022.3.18f1, 2023.2.7f1, 2023.3.0b4, 7000.0.0a1

Votes

0

Found in

2022.3.13f1

Issue ID

UUM-56231

Regression

No

[IL2CPP][Android] Non-development build fails due to IL2CPP conversion of types

--

-

Steps to reproduce with [^UUM-56231-Minimal-Repro.zip]
# Open the attached project [^UUM-56231-Minimal-Repro.zip]
# Ensure the build is scripting backend is set to IL2CPP
# Build

Expected results: build succeeds
Actual results: build fails

Reproducible with: 2022.3, 2023.2, 2023.3, 2024.1
Not reproducible on 2021.3

Steps to reproduce:
1. Open the attached project "Project.zip"
2. Build for Android

Expected results: build succeeds
Actual results: build fails

Reproducible with: 2022.3.13f1
Could not test on 2021.3.32f1, 2023.1.20f1, 2023.2.0f1, 2023.3.0a14 due to custom package errors when downgrading/upgrading

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Notes:
-Issue does not reproduce when building a Development build
-Issue does not reproduce when using Mono
-Error message in console:
Building Library\Bee\artifacts\Android\d8kzr\3mtf6wijeurv.o failed with output:
C:\project\Library\Bee\artifacts\Android\il2cppOutput\cpp\King.Nirvana.Solitaire__4.cpp(32931,2): error: unknown type name 'ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129'
ArgumentNullException_t327031E412FAB2351B0022DD5DAD47E67E597129* G_B4_0 = NULL;
In file included from C:/project/Library/Bee/artifacts/Android/il2cppOutput/cpp/King.Nirvana.Solitaire__4.cpp:1:
In file included from C:/Work/Unity/2022.3/2022.3.13f1/Data/il2cpp/libil2cpp/pch\pch-cpp.hpp:6:
In file included from C:/Work/Unity/2022.3/2022.3.13f1/Data/il2cpp/libil2cpp\codegen/il2cpp-codegen.h:10:
In file included from C:/Work/Unity/2022.3/2022.3.13f1/Data/il2cpp/libil2cpp\codegen/il2cpp-codegen-il2cpp.h:3:
C:\Work\Unity\2022.3\2022.3.13f1\Data\il2cpp\libil2cpp\codegen\il2cpp-codegen-common.h(136,20): warning: implicit conversion from 'long' to 'int' changes value from -9223372036854775808 to 0 [-Wconstant-conversion]
return INT64_MIN;
C:\Work\Unity\2022.3\2022.3.13f1\Data\PlaybackEngines\AndroidPlayer\NDK\toolchains\llvm\prebuilt\windows-x86_64\sysroot\usr\include\stdint.h(187,56): note: expanded from macro 'INT64_MIN'
#define INT64_MIN(INT64_C(-9223372036854775807)-1)
C:\Work\project\Library\Bee\artifacts\Android\il2cppOutput\cpp\King.Nirvana.Solitaire__4.cpp(19299,9): note: in instantiation of function template specialization 'il2cpp_codegen_cast_double_to_int<int>' requested here
V_1 = il2cpp_codegen_cast_double_to_int<int32_t>(L_16);

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.