TextMeshPro SG compilation errors when enabling Path Tracer
Unity: Text (TextMeshPro)
HDRP
DXR
Won't Fix
2022.2.X
2022.1.X
2021.3.X
2020.3.X
Cancelling since fix will go into 2022.2.
Version tested:: 2020.3.31f1 + HDRP 10.8.1 + TMP 3.2.0-pre4 (stored locally in repro project)
Steps to reproduce:
1) Open attached project, OutdoorsDXRScene
2) Make sure TMP object in the scene uses TMP_SDF-HDRP LIT or TMP_SDF-HDRP UNLIT Shader Graphs
3) Enable Path Tracer in the scene
4) Observe SG compilation errors and TMP object not being rendered properly
Errors:
Shader error in 'TextMeshPro/SRP/TMP_SDF-HDRP LIT': no matching function for call to 'GetSurfaceNormal_float' at 13637(13) (on d3d11)
Shader error in 'TextMeshPro/SRP/TMP_SDF-HDRP LIT': unknown type name 'texture2D'; did you mean 'texture'? at Pro/Shaders/SDFFunctions.hlsl(25) (on d3d11)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?