I have been trying to build my app using URP for Android,
the app is unable to build correctly, I do not get past the splash screen.
Both IL2CPP and Mono compilation are failing to provide with a working build.
I have created a support ticket in hopes of getting direct contact with Unity,
we have purchased a Pro license in hopes of being helped faster as we are in need of urgent help.
Recently (circa July 2022) there have been reports of Unity’s installer failing to install the Android Tools.
If it’s not that, then here’s how to troubleshoot:
First, make a blank project with a single blank scene and prove that it builds successfully.
If it does NOT build, then go fix your Unity installation, or your other tools, such as Android SDK, NDK, JDK, etc.
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 third-party libraries such as Firebase.
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 that subsystem.
As you suggest we have tried a few things, an empty project appears to build just fine with all packages included.
I then tried systematically adding stuff back into a blank project to see where it would fail.
As soon as I add code that pertains to AR, the app starts to fail. Leading me to believe there is a problem with either my code or the API I am using for the AR…
Welcome to third party libraries! Clear everything out of that empty project, then go back to the integration steps for whatever AR system you are using and recheck everything, including requirements of Unity version, etc.
It may also be helpful to post pointed questions in the AR/VR/XR forums on this board.