Description
In Unity 6000.5.0b3 using the Meta Quest build profile with at least three of the XRI 3.5.0-pre.2 package samples results in broken UI materials and the Console errors listed below. Affected samples include DemoScene, Hands Interaction Demo, and Spatial Keyboard Demo.
Initial setup
Use Unity 6000.5.0b3 and XRI 3.5.0-pre.2 to see this bug. (I found the bug while testing upcoming XRI 3.4.1 on a dev branch, but it also occurs on released XRI 3.5.0-pre.2.)
This bug does not happen in Unity 6000.4.1f1. The repro project was created in Unity 6.4. If you use it in Unity 6.5 with the build profile that was created with Unity 6.4, then you won't see the bug. But if you use it in Unity 6.5 and create the build profile with Unity 6.5, then you will see the bug.
Reproduction steps
1) Open repro project (see xri_341.zip attached) in Unity 6000.5.0b3.
2) Build Profiles > remove Meta Quest build profile.
3) Build Profiles > create Meta Quest build profile.
4) Build Profiles > switch to Meta Quest build profile.
5) Project Settings > Project Validation > install TMP Essentials.
6) Project Settings > Project Validation > fix other failed checks.
7) Build DemoScene and run on a Quest HMD.
Expected Result: See right.png attached; no Console errors.
Actual Result: See wrong.png attached, and Console errors listed below.
To see correct behavior start over with a fresh copy of the repro project from the zip file. Omit steps 2 and 3, but do all the other steps. This means you are using the Meta Quest build profile that was created by Unity 6000.4.1f1.
Console errors moved to a comment (dated May 6 2026) for easier reading this bug.