Search Unity

XR Single Pass Instanced TextMesh Pro renders only in one eye despite updated shaders.

Discussion in 'AR/VR (XR) Discussion' started by voluntaryway, Jun 22, 2020.

  1. voluntaryway

    voluntaryway

    Joined:
    Apr 13, 2020
    Posts:
    4
    Hi,

    I'm having the problem, that whenever I activate Single Pass instanced rendering (XR Interaction Toolkit + HDRP), my TextMesh Pro Text is only being rendered in the left eye. I researched the problem and found that the TextMeshPro shaders need to be updated to support stereo rendering. That's what I did, but the problem still persists. I'm running out of ideas.

    Would be awesome if anyone could help.

    Thanks
    Marcus
     
  2. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    What is your engine version, Textmeshpro version, HDRP version?
    It may be best to recreate it in a small reproducible project and use the Unity bug reporter to report this issue then quote the case # number here!

    https://unity3d.com/unity/qa/bug-reporting
     
  3. Mino_aro

    Mino_aro

    Joined:
    May 7, 2020
    Posts:
    3
    Any updates about this? I have same problem about it.
     
  4. Aaron-Meyers

    Aaron-Meyers

    Joined:
    Dec 8, 2009
    Posts:
    305
    yup... this is still happening for me too. :(
     
  5. Bshsf_9527

    Bshsf_9527

    Joined:
    Sep 6, 2017
    Posts:
    43
  6. Reahreic

    Reahreic

    Joined:
    Mar 23, 2011
    Posts:
    254
    I have those lines in my versions of the TMPro shaders but still have this issue. Is there some other undisclosed dependency out there? From fixing my other shaders to be URP Safe, there were more changes that needed to occur than just listed in the docs. (Granted those were GCProgram to HLSL conversions too)
     
  7. juvelezm

    juvelezm

    Joined:
    May 23, 2018
    Posts:
    9
    The shader of each TextMeshPro object must be changed to any of the DistanceField ones:
    - TextMeshPro/Mobile/Distance Field
    - TextMeshPro/Mobile/Distance Field (Surface)
    - TextMeshPro/Mobile/Distance Field Overlay
    - TextMeshPro/Mobile/Distance Field SSD