Does Aline support rendering in VR Playmode?


Does Aline support rendering debug lines and shapes in vr playmode in unity editor?

Considering this asset because unity’s own Debug.Drawline doesn’t work in VR play mode in editor.
I will be primarily, using this for testing/visualizing vr mechanics during play mode.
I use a Quest headset with link for development.


I have added support for it in the shaders, and I don’t think I’ve broken it since I last tested it.
I do not test VR rendering often, though, because it’s a bit of a pain to do so (I don’t even have my own VR headset).
If you purchase ALINE, and it turns out it does not work, I’ll of course provide you with a refund.

I can confirm, Aline works perfectly with VR (Quest 2 as an example).

Even with Vulkan graphics api.

Thanks for getting back to me! :slight_smile:

I’m actually using 2021 LTS & Aline and it’s only rendering in a single eye. Any idea if this is something I can patch myself in the source?


@Grant_Amos During my last tests, ALINE worked fine in VR. But render pipelines are finicky, and your particular configuration might not be supported. Do you use a render pipeline or any exotic render setup?
I’d also recommend upgrading Unity to a more recent version.

Understood. Unfortunately, upgrading past 2021 is a no go for this project. As for the render pipeline, it’s URP w/ forward rendering. Nothing too interesting.

In any case, no worries! I appreciate your help & response! If I care that much I could just code crawl / figure it out lol. I’m new to VR so I’m not familiar with why a shader would render in one eye.

1 Like