Steps to reproduce:
- Open the attached TMP_AXR repro project in Unity 6000.6.0b7.
- Build Profiles > Android XR build profile > Switch Profile.
- Build Profiles > Android XR > Build.
- After build completes, check Console.
Actual results:
Shader warning in 'TextMeshPro/Mobile/Distance Field': #pragma enable_d3d11_debug_symbols has been deprecated, instead please use #pragma enable_debug_symbols at line 84
Expected results:
No warnings or errors.
Reproducible with versions:
Unity 6000.6.0b7
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
MacOS Editor, building for Android XR.
Notes:
I flagged this as a regression because I don't remember seeing it in previous testing. But it is possible that I missed it before, and I haven't gone back and tried earlier Editors.
Here is how I made the repro project:
- Used Unity 6000.6.0b7 to create new project from URP Template.
- Build Profiles > new Android XR build profile, make it active.
- Project Settings > XR Plug-in Management > enable OpenXR and Android XR Feature Group.
- Window > TextMeshPro > Import TMP Essential Resources.
- Project Settings > Graphics > set Default RP = Mobile_RPAsset.
- Project Settings > Quality > set Android XR Build Profile as current.
- Project Settings > Quality > set RP Asset = Mobile_RPAsset.
- Build Profiles > Android XR > Build.