SteamVR teleport mark not showing in build

Hello. I am using Unity 2020.3.7 URP with SteamVR asset. I have a scene with the teleport prefab and a terrain with teleport area script. In editor mode I can see the teleport line and the reticle at the end but in build mode I only see the line. Anyone knows what is happening?

Thanks!

could check player.log for possible errors,

I have two errors. None of them of SteamVR

Shader ‘Universal Render Pipeline/Particles/Lit’: fallback shader ‘Universal Render Pipeline/Particles/SimpleLit’ not found
Material ‘M_grass_beech_forest_02’ with Shader ‘NatureManufacture/URP/Foliage/Foliage’ doesn’t have a texture property ‘_MainTex’

can you check what material-shader the teleport reticle uses?
(but i guess if its that missing shader, it would be still drawn pink in urp also)

i’d maybe try adding some default sphere (without collider) in the reticle prefab, just to see if that appears.

It uses URP/Particles/Unlit. Which is the same as the teleport line.

I found the solution! The problem is that the teleport prefab has a script that only updates the top gameobject materials (the parent ones) but not the childs materials. I updated them manually, rebuild the proyect and the teleport works fine! I post here where I found the solution: Teleport Destination drawing order is incorrect when building with URP · Issue #875 · ValveSoftware/steamvr_unity_plugin · GitHub

1 Like