Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

VR (Unity version only)

A topic by ashtorak created Dec 15, 2021 Views: 506 Replies: 2
Viewing posts 1 to 4
(4 edits)

VR works only in the Windows version of the Unity builds. It uses OpenXR, so it should run on any headset that supports it, hopefully. It's tested with an Oculus Rift CV1. Enable VR mode from the main menu. VR is pretty basic. So don't go in with too high expectations.

VR controls were created with mouse and keyboard as I don't have hand controllers currently. However, since I use the Unity OpenXR plugin the mouse actually just gives values to the same interactor which can also be used with the hand controller. So you might be able to use your hand controller, but some stuff might not work with it. It will probably be like this for a while as I am focused on developing in non-VR first right now.

With my Oculus Rift I currently have problems with the virtual audio device which I have to deactivate manually in the Windows sound settings to get the audio to play in the rift. It also breaks something on the non-VR output. This seems to be some new drivers originally for the Quest doing this. With that Facebook finally has completely ruined Oculus for me and I will be happily looking somewhere else for my next headset. Any recommendations? Ideally something were you don't have to sign up and create an account, but can just plug it in and play your own game without any hassles.

Please let me know, how it works with your devices, also when it works fine, not just when you have issues ;)

Someone mentioned that it would be cool to have this as a VRChat world. So I looked into it and there are some severe limitations:

1. Max. world limit of 200 MB

2. Older Unity version needed, 2019 currently.

That would mean a couple of days of work probably only to take care of this, and removal of some features. Additionally, there will be an unknown amount of work on UI and making everything functional with their integration. Might be quick or take very long. I don't have experience with VRChat. So it'll probably be on the longer end :D

 It's interesting though. Maybe I could make a donation goal or so for this.

However, at the moment I want to focus on making it look better and not to reduce the visual quality (or do tons of optimization) to fit it in a VRChat world.

moved this topic to UNITY version: Info

Tip: If you have problems running VR and getting glitches even with a powerful machine, make sure to have the game window as small as possible and maybe reduce graphics settings as well.