• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
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 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

Back
Top Bottom