XBOX Unity build fails almost immediately with PanelEventHandle error. Please HLP!

Hi everyone! Need some of your wonderful support and assistance to help out a first time XBOX porting novice!

My build fails almost immediately in both Series X and One in Unity 2021.3.39f1 with the below error.

Library\PackageCache\com.unity.ugui@1.0.0\Runtime\EventSystem\UIElements\PanelEventHandler.cs(362,30): error CS0535: ‘PanelEventHandler.PointerEvent’ does not implement interface member ‘IPointerEvent.tilt’

I am able to build to all other platforms no problem at all, but when I immediatley switch platforms in build settings to XBOX, once conpiled, I get these errors:

Ps upon switching platform to xbox i get these errors - could these shine a light on my build issue?

Shader Compiler IPC Exception: Terminating shader compiler process

Shader compiler: Compile MultiScaleVODownsample2.compute - MultiScaleVODownsample2_MSAA: Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log. Error code 0x80000004 (Not connected).

Shader compiler: Compile Histogram.compute - KHistogramClear: Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log. Error code 0x80000004 (Not connected).

Shader compiler: Compile MultiScaleVODownsample1.compute - MultiScaleVODownsample1_MSAA: Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log. Error code 0x80000004 (Not connected).

Shader compiler: Compile Texture3DLerp.compute - KTexture3DLerpToColor: Internal error communicating with the shader compiler process. Please report a bug including this shader and the editor log. Error code 0x80000004 (Not connected).

I can clear these, but when I build I get the PanelEventHandler issue, it’s driving me crazy! Can anyone help?

THANK YOU

James

How to troubleshoot build failures:

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.

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 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 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):

Android Gradle errors and other related stuff: