Hello, I wanted to see if someone could help me with an error that I am having when I want to compile for android, I have already tried everything I found in videos and forums, I will leave images of the error, it is an application for quest 2
Unity Version: 2020.3.36f1
The strange thing is that it only gives me this error when I want to compile in this specific project, because when I create a project totally from 0 in the same version and try to compile for android using exactly the same settings and preferences it doesn’t give me the error in the project empty but in the original project yes.
2020.3.36f1 is no longer supported, please update to 2021 LTS and see if it fixes your problem.
I changed the version of unity to 2021.3.20f1 and I got this error message
I solved the previous problem and tried to build and I got the same error, do you know why this happens or what other solution exists?

Please attach Editor.log, your screenshot doesn’t contain error contents.
this is the first mistake:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configure project :launcher
WARNING: The option setting ‘android.enableR8=false’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :launcher:prepareLintJar UP-TO-DATE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:processReleaseManifest UP-TO-DATE
Task :launcher:mergeReleaseResources UP-TO-DATE
Task :launcher:processReleaseManifest UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
Task :launcher:mergeExtDexRelease UP-TO-DATE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :launcher:collectReleaseDependencies UP-TO-DATE
Task :launcher:sdkReleaseDependencyData UP-TO-DATE
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:processReleaseJavaRes UP-TO-DATE
Task :unityLibrary:bundleLibResRelease UP-TO-DATE
Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:processReleaseResources UP-TO-DATE
Task :launcher:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:compileReleaseSources UP-TO-DATE
Task :launcher:lintVitalRelease
Task :launcher:dexBuilderRelease UP-TO-DATE
Task :launcher:mergeDexRelease UP-TO-DATE
Task :launcher:mergeReleaseJavaResource UP-TO-DATE
Task :launcher:mergeReleaseNativeLibs UP-TO-DATE
Task :launcher:stripReleaseDebugSymbols UP-TO-DATE
Task :launcher:packageRelease
Task :launcher:packageRelease FAILED
47 actionable tasks: 4 executed, 43 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
2:
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:launcher:packageRelease’.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
value (4557893215) > 0x00000000ffffffffL
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 1m 42s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
3:
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath “C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-6.1.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”
Environment Variables:
__PSLockDownPolicy = 0
OculusBase = C:\Program Files\Oculus
RlsSvcPort = 22112
VK_SDK_PATH = C:\VulkanSDK\1.3.236.0
ProgramFiles = C:\Program Files
TMP = C:\Users\gaboa\AppData\Local\Temp
PROCESSOR_ARCHITECTURE = AMD64
SIMPLYGON_9_PATH = %PROGRAMW6432%\Simplygon\9
SIMPLYGON_9_TEMP = %LOCALAPPDATA%\Temp\Simplygon
PROCESSOR_REVISION = 7100
OS = Windows_NT
CHROME_CRASHPAD_PIPE_NAME = \.\pipe\crashpad_14240_ZDYOHNJMZYYAOIQC
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
LOCALAPPDATA = C:\Users\gaboa\AppData\Local
USERPROFILE = C:\Users\gaboa
JAVA_HOME = C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
CommonProgramFiles = C:\Program Files\Common Files
DriverData = C:\Windows\System32\Drivers\DriverData
ComSpec = C:\WINDOWS\system32\cmd.exe
LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
LOGONSERVER = \DESKTOP-BIR4570
USERDOMAIN = DESKTOP-BIR4570
PUBLIC = C:\Users\Public
SystemRoot = C:\WINDOWS
HEAP_CLIENT_TOKEN = 1717415662
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
NUMBER_OF_PROCESSORS = 12
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
DEBUG_ENV_VAR = UnityHub
ProgramW6432 = C:\Program Files
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
Path = C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\PlasticSCM5\server;C:\Program Files\PlasticSCM5\client;C:\Program Files (x86)\VMware\VMware Player\bin;C:\VulkanSDK\1.3.236.0\Bin;C:\Program Files\Oculus\Support\oculus-runtime;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\QuickTime\QTSystem;D:;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Users\gaboa\AppData\Local\Programs\Python\Python311\Scripts;C:\Users\gaboa\AppData\Local\Programs\Python\Python311;C:\Users\gaboa\AppData\Local\Microsoft\WindowsApps;C:\Users\gaboa.dotnet\tools;C:\Users\gaboa\AppData\Roaming\npm;C:\Users\gaboa\AppData\Local\Programs\Microsoft VS Code\bin;
TEMP = C:\Users\gaboa\AppData\Local\Temp
SIMPLYGON_10_PATH = C:\Program Files\Simplygon\10
USERNAME = XR Unity Dev
COMPUTERNAME = DESKTOP-BIR4570
USERDOMAIN_ROAMINGPROFILE = DESKTOP-BIR4570
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
SystemDrive = C:
ALLUSERSPROFILE = C:\ProgramData
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN_STAGING = 3786794399
HOMEPATH = \Users\gaboa
HOMEDRIVE = C:
FPS_BROWSER_USER_PROFILE_STRING = Default
windir = C:\WINDOWS
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
APPDATA = C:\Users\gaboa\AppData\Roaming
SIMPLYGON_9_SHARED = %USERPROFILE%\Documents\Simplygon\9
CommonProgramW6432 = C:\Program Files\Common Files
ProgramFiles(x86) = C:\Program Files (x86)
SESSIONNAME = Console
VULKAN_SDK = C:\VulkanSDK\1.3.236.0
SIMPLYGON_10_SHARED = %USERPROFILE%\Documents\Simplygon\10
PROCESSOR_LEVEL = 23
LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
SIMPLYGON_10_TEMP = %LOCALAPPDATA%\Temp\Simplygon
OneDrive = C:\Users\gaboa\OneDrive
ProgramData = C:\ProgramData
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
stderr[
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:launcher:packageRelease’.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
value (4557893215) > 0x00000000ffffffffL
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 1m 42s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
]
stdout[
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configure project :launcher
WARNING: The option setting ‘android.enableR8=false’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\2021.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :launcher:generateReleaseBuildConfig UP-TO-DATE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues UP-TO-DATE
Task :unityLibrary:generateReleaseResources UP-TO-DATE
Task :launcher:javaPreCompileRelease UP-TO-DATE
Task :launcher:generateReleaseResValues UP-TO-DATE
Task :launcher:generateReleaseResources UP-TO-DATE
Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
Task :launcher:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:packageReleaseResources UP-TO-DATE
Task :launcher:prepareLintJar UP-TO-DATE
Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
Task :unityLibrary:processReleaseManifest UP-TO-DATE
Task :launcher:mergeReleaseResources UP-TO-DATE
Task :launcher:processReleaseManifest UP-TO-DATE
Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
Task :launcher:desugarReleaseFileDependencies UP-TO-DATE
Task :launcher:checkReleaseDuplicateClasses UP-TO-DATE
Task :launcher:mergeReleaseShaders UP-TO-DATE
Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
Task :launcher:compileReleaseShaders NO-SOURCE
Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE
Task :launcher:mergeExtDexRelease UP-TO-DATE
Task :launcher:generateReleaseAssets UP-TO-DATE
Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
Task :launcher:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:compileReleaseShaders NO-SOURCE
Task :unityLibrary:generateReleaseAssets UP-TO-DATE
Task :launcher:collectReleaseDependencies UP-TO-DATE
Task :launcher:sdkReleaseDependencyData UP-TO-DATE
Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
Task :launcher:validateSigningRelease UP-TO-DATE
Task :unityLibrary:packageReleaseAssets
Task :unityLibrary:processReleaseJavaRes UP-TO-DATE
Task :unityLibrary:bundleLibResRelease UP-TO-DATE
Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
Task :unityLibrary:stripReleaseDebugSymbols UP-TO-DATE
Task :unityLibrary:copyReleaseJniLibsProjectOnly UP-TO-DATE
Task :unityLibrary:generateReleaseRFile UP-TO-DATE
Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
Task :unityLibrary:bundleLibCompileToJarRelease UP-TO-DATE
Task :unityLibrary:bundleLibRuntimeToJarRelease UP-TO-DATE
Task :launcher:mergeReleaseAssets
Task :launcher:processReleaseResources UP-TO-DATE
Task :launcher:compileReleaseJavaWithJavac UP-TO-DATE
Task :launcher:compileReleaseSources UP-TO-DATE
Task :launcher:lintVitalRelease
Task :launcher:dexBuilderRelease UP-TO-DATE
Task :launcher:mergeDexRelease UP-TO-DATE
Task :launcher:mergeReleaseJavaResource UP-TO-DATE
Task :launcher:mergeReleaseNativeLibs UP-TO-DATE
Task :launcher:stripReleaseDebugSymbols UP-TO-DATE
Task :launcher:packageRelease
Task :launcher:packageRelease FAILED
47 actionable tasks: 4 executed, 43 up-to-date
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action1[T] progress, System.String error) (at <53a24fd937e24f249a40af7ff60927ab>:0) UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action1[T] progress) (at <53a24fd937e24f249a40af7ff60927ab>:0)
Rethrow as GradleInvokationException: Gradle build failed
UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, Unity.Android.Gradle.AndroidGradle androidGradle, System.String workingdir, System.String task, System.Action`1[T] progress) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <53a24fd937e24f249a40af7ff60927ab>:0)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, AndroidPlayerBuildProgram.Data.AndroidPlayerBuildProgramOutput buildProgramOutput) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <53a24fd937e24f249a40af7ff60927ab>:0)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <6e08e61cfda04255b3972ba7f0515fae>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
As per this thread - Android Gradle build error: value (4345213088) > 0x00000000ffffffffL your apk might to big, you might need to enable app bundles + split application binary.
Do you know how much is the maximum apk that allows because I think mine would be around 4GB or 4.5GB and when I try to do split binary (OBB) since it is to upload it to the meta quest developer it does not load them well
I think the limit is exactly 4GB.
Can you expand on this?
If you look, I will try to explain the best I can since it is not an error as such or that it throws me some Log, when I build with split Binary (OBB) it compiles correctly but once I upload the apk and the obb to meta quest developer, The first scene loads well but when loading the second it stays stuck as if there was no other scene, I will leave a video where the error is specifically shown.
https://www.youtube.com/watch?v=-li4cpfriPw
Are there any errors in the logcat? Maybe your app doesn’t find the obb?
I will make a build with split binary (OBB) and I will upload it to meta quest developer and I will record it so you can understand me a little better and help me thank you very much for the help
Be sure to use development player for more logging.
It is giving me these errors when trying to upload it


Why are you not using Build & Run to Quest from Unity ? Or that doesn’t work.
Also the screenshot mentions a log file, did you tried looking into, looks poor connection error. Do you have Oculus connected to PC via cable?
I am not using Build and Run since it is an application for it to be in applab, and I doubt it is a poor connection because I tested my internet connection and it works fine for everything
I am not familiar with applab, so I am afraid I can’t say why your upload is failing.

