Search Issue Tracker

By Design

Votes

0

Found in

2021.3.29f1

2022.3.6f1

2023.1.7f1

2023.2.0b3

Issue ID

UUM-44755

Regression

No

[Android/TextMeshPro] Custom TMPro shader does not render when built

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/DevDunkStudio/LightReceiver/Demo/Scene/LightReceiverDemo.unity” Scene
3. Build And Run on Android
4. Observe the Scene

Expected result: The text “LightReceiver” is seen in Scene
Actual result: No text “LightReceiver” is rendered

Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.7f1, 2023.2.0b3

Reproducible with devices:
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640

Not reproducible with devices:
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76

Testing environment: Windows 10 Enterprise 21H2

Notes:
- Might have to rotate the device to see the full Scene
- TMPro shader is changed to URP/Lit for real-time lighting on text
- Does not reproduce in Windows Standalone Player or Editor
- The TMPro asset is in Assets/TMPro/Resources/LiberationSans SDF

  1. Resolution Note:

    By design: project has disabled Depth and Stencil buffers in Android player settings. Depth buffer is required for correct 3d objects occluding, otherwise it depends on drawing order.

    The missing object has assigned a material which draws it during opaque render pass. Scene has enabled skybox, which is drawn after opaque pass, because depth buffer is disabled and Z testing is not available, skybox overwrites the entire screen, making previous objects disappear.
    Options to workaround that:
    1. Enable depth & stencil buffer for Android
    2. Explicitly specify objects rendering order to be after skybox pass.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.