Hello everyone, I’m trying to build my game as apk for test and have some errors:
Can someone help me what means? version Unity: 6000.5.0f1
''Build completed with a result of ‘Failed’ in 25 seconds (25159 ms) [7/21/2026 12:42:55 AM → 7/21/2026 12:43:20 AM, 25s]
Either unknown arguments were used or one or more assemblies could not be found :
–generic-option=EnableLegacyGenericSharing
C:\Program Files\Unity\Hub\Editor\6000.5.0f1\Editor\Data\il2cpp\build\deploy\il2cpp.exe @Library\Bee\artifacts\rsp\6109974566316777418.rsp
Either unknown arguments were used or one or more assemblies could not be found :
–generic-option=EnableLegacyGenericSharing
C:\Program Files\Unity\Hub\Editor\6000.5.0f1\Editor\Data\il2cpp\build\deploy\il2cpp.exe @Library\Bee\artifacts\rsp\6109974566316777418.rsp
Obviously, if there is actionable data, clues or information within any of the errors, fix those problems. Each error entry may have more information than can fit in the console log so select each error and read the expanded view below it. Check the Editor log as well.
If that gives you nothing worthwhile (look to Google! You’re never the first one!), then…
First, make a blank project with a single blank scene and prove that it builds successfully.
If the blank project does NOT build, go fix your Unity installation or your other tools, such as Android SDK, NDK, JDK, etc. It may even be necessary to change to a different version of Unity3D. It is generally best to stay with LTS versions of Unity3D.
Until you can build a blank project to the target platform, don’t fiddle with anything else.
Once you can build a blank project, now bisect the problem by bringing over parts of your current project and building it one subsystem at a time, perhaps stubbing things out that might trigger compiler errors.
Most often things that prevent building are misconfigured or incorrectly-installed or incompatible third-party libraries such as Firebase or AdMob or IronSource.
Once you identify the subsystem, go to the documentation for it and make sure you are doing it correctly.
It may also be helpful to work through a tutorial or two for whatever subsystem is making the build fail.
Android build not building:
Circa July 2022 here have been reports of Unity’s installer failing to install the Android Tools.
Here was how I brought up Unity2020.3.41 and the Android SDK 31 on October 30, 2022 (edited on August 23, 2023 to include Android SDK 33…) (and again for SDK34):
And for Android SDK35, my own experiences and success:
After the Unity-CVE incident I installed Unity2022.3.62f2 and also Android SDK36 and … IT JUST WORKED! I did remove all previous Android SDKs before doing that though.
Just build an apk of a blank 3d project and work, I will try to change the version with a LTS one, probably something is incompatible with this version with Firebase, admob or google play games, I will be back with the results. Thank you so much!
Downgrade to a LTS version(don’t know if it work because have the same problem at build) and then find in folder ProjectSettings->ProjectSetting.asset - Open as .txt and find ''additionalIl2CppArgs: ‘’ deleted what was bofere ‘:’ and that’s work for me.
Be cautious with that, it can lead to loss of data. Downgrading is not supported. The very least you should do is delete Library and Obj folders as they might contain incorrectly serialized or stale artifacts.
Since you were on 0f1 the reasonable thing to do would have been to try the latest 6.5 release first. The 0f1 is practically still a beta version, with early releases typically containing more issues.