Immediate mode polylines not rendering in VR

Avatar
  • updated

I have a project that uses immediate mode polylines in a VR game. I am upgrading my project from Unity 2021.3.45 + Shapes 4.3.1 to Unity 6000.4.2 + Shapes 4.6.0. It still works almost perfectly, except polylines do not render in build on headset (Quest 3)

The immediate mode polylines still render correctly in editor as well as in WebGPU builds. I am able to place regular polylines in scene and see those in headset, so the problem is limited to immediate mode. No errors or anything at runtime. I've been messing around with settings and cannot for the life of me figure out why this is happening. Any ideas?

Reporting a bug? please specify Unity version:
6000.4.2
Reporting a bug? please specify Shapes version:
4.6.0
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Thomas Ratliff
Quote from Freya Holmér

that is odd. was this with a clean install of Shapes (ie: installed 4.6.0 fresh instead of upgrading it in place), and are you getting any potentially related shader warnings or errors in the build log or at runtime?

Ya, this was on a clean install. I made sure to fully delete the package and reinstall the new one. No errors/warnings during build or runtime which is why I'm having such a hard time debugging what could be going wrong here

Avatar
Freya Holmér creator

that is odd. was this with a clean install of Shapes (ie: installed 4.6.0 fresh instead of upgrading it in place), and are you getting any potentially related shader warnings or errors in the build log or at runtime?