• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
Make CustomUnityAssets that work in VR

Guides Make CustomUnityAssets that work in VR

Desktop users making CustomUnityAssets often get tripped up when they find their assets don't work in VR and have no way to test and no clear explanation of how to fix it, but it's actually easy so here we go:

1. Enable Single Pass Stereo

This is the most common problem because the default Unity setup is not correctly set for Single Pass VR rendering, without it the same image will be drawn to each eye so there is no perception of depth.

In your Unity project open Player Settings by clicking Edit > Project Settings, then select Player.

1771882613599.png


At the bottom of the Player Settings screen expand the XR Settings section and change the Stereo Rendering Method to Single Pass.

1771883082680.png


This is "set and forget", you never need to change this again in your project.

2. Remove any Unity cameras before export

A Unity camera in the asset will cause the VR camera to become attached to it when loading a scene, always make sure to remove any cameras from the asset you are exporting.

3. Other gotchas

Points 1 and 2 will fix 99% of VR issues but you should also look out for (Thanks to @hazmhox):

- The vast majority of Materials will work in VR but not all, make sure your material is compatible with Single Pass VR Stereo.

4. Helpful links


Here are some other excellent guides that will help make your asset creation a breeze, happy creating!

Unity AssetBundles for VaM 1.xx by @MacGruber
The definitive asset creation tutorial for VaM by @hazmhox
Perfect CUA Editor Tutorial by @hazmhox
React to this content...

Share this resource

More resources from Spacedog

Latest reviews

Positive
Up7
Posted:
一直困扰我的问题得到了解决
Upvote 0
Positive
LDR
Posted:
Thank you!Spacedog,This tutorial is very helpful.
I did run into the first and second issues before, and I spent quite a bit of time trying to figure out the cause.
Unfortunately, I couldn’t find guidance like this earlier.
Upvote 0
Back
Top Bottom