Closed ljx646635337 closed 3 months ago
The error message says:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\ljx\AppData\Local\Temp\Generics__72-5db573.cpp
clang++: note: diagnostic msg: C:\Users\ljx\AppData\Local\Temp\Generics__72-5db573.sh
clang++: note: diagnostic msg:
********************
Is that attached somewhere here and I'm just overlooking it? There's almost never anything we can do to help without that.
Will reopen if we get the data we need.
I have a similar error on Bee\artifacts: all logs in attach. UnityError_NDK_Bee.zip
Same problem with Unity 2022.3.38f1 and 46f1. Even with new clean installs and even cleaning the library folder of the project :/
You're using NDK r23, which hasn't been supported in years. Try updating? r23 is sufficiently old that I'm not having any luck getting the repro case to work with r27 (those test cases always include all the low-level compiler flags, which are not a stable interface so it always takes some massaging to get them to work, and this is apparently too far gone), so I can't prove it myself, but the whole idea of shipping new NDKs is that they've got fixes for bugs in old versions of Clang :)
If it does still crash with r27, please upload that repro case.
Description
So,When I use Unity to build an APK, selecting "IL2CPP" results in the following error. However, choosing "Mono" allows the build to complete successfully. On another computer, with the same content, it is possible to build with "IL2CPP" without issues.
Affected versions
r26
Canary version
No response
Host OS
Windows
Host OS version
Windows 11
Affected ABIs
armeabi-v7a
Build system
ndk-build
Other build system
No response
minSdkVersion
6.0(API level23)
Device API level
No response