r/oculusdev • u/-Sploosh- • Feb 25 '20
Question VRTK vs Unity XR Interaction Toolkit?
I've been hearing a lot lately about VRTK 4 being convoluted and difficult to use. Yet VRTK 3.3 seems to still get praise. Unity XR seems to be popular as well, but potentially without a lot of features VRTK provides. Should I go with some version of VRTK or Unity XR if I'm looking to hopefully easily port to Rift, Quest, Vive, Index, and PSVR?
2
u/Clavus Feb 25 '20
It really depends on your project and dev skills. Personally I prefer Unity XR with my own framework over it, without the bloat of VRTK systems that I don't use. But if you're making a short game where you interact with physical objects a lot, VRTK might be sufficient for your needs.
VRTK is still build on Unity's old VR system (enabling VR in Project Settings etc). But Unity's new XR management package is still in active development, Valve hasn't released their OpenVR loader plugin for it yet for example.
2
u/andybak Feb 25 '20
Valve hasn't released their OpenVR loader plugin for it yet for example.
Valve hasn't even commented on the situation or given any indication it's being worked on let alone any time frame for release.
I'd love to know what is actually going on between Unity and Valve because the public messaging has been awful.
2
u/kumilanka Feb 25 '20
VRTK 3.x versions will not be compatible with the new Unity XR plugin management systems going forward, so you need to make a choice to either stick with VRTK 3.x, and use a Unity version that does not deprecate the "virtual reality supported" project setting, or jump to XR system and build the features you want yourself.
The new XR system in Unity is very new and a beta version, so it does not support a lot out of box. It is however the only choice going forward, unless you stop updating Unity.
1
u/BrainSlugs83 Feb 25 '20
The Unity 2019.3 XR stuff makes cross platform VR way easier imo. No more headset specific bullshit. -- VRTK is all about headset specific bullshit, and it's really easy to set it up wrong (harder to do it right than wrong, IMO). So, fuck VRTK. I'll wait until they support the new 2019.3 plug-ins before looking at it again...
To be clear, I'm not recommending the XR Interaction stuff. It's almost as buggy as the base Oculus integration kit. Just make your own prefabs from scratch that use the new 2019.3 workflow. Way easier.
1
u/mptp Feb 25 '20
Don't go with VRTK 3.x - it's not supported moving forward and will certainly break at some point in the next few years.
VRTK v4 is actually not that bad - just don't touch their interactable objects. Their SDK management, input abstraction and teleportation systems are pretty rock solid. But their interactable object system is an absolute joke - I think I once counted 137 separate objects inside a single interactable object hierarchy.
Back when I was working on a cross-platform VR project for a client, I just built my own interactable object system with touch / grab / throw support and for everything else used VRTK. If you understand how Zinnia works (especially Actions and Moment Processors) it's really easy to expand it with your own stuff.
That said, I haven't tried the XR Interaction Toolkit yet so that might be a good option?
1
u/Beep2Bleep Mar 03 '20
I've got the OVR setup working with Quest/Rift/Open VR with Vive wands. But the Index controllers don't show up as anything, does anyone have a solution to map the index controllers to Vive wand inputs? I've spent way to long trying to get this working. I'm on day 3 nearly of a 7 day game jam just trying to add support for the Index controllers.
5
u/andybak Feb 25 '20
Cross-platform VR dev on Unity is in a really poor state right now. I was hoping it was going to get better when the XR Interaction Toolkit was released but it actually got spectacularly worse.
I can't work out what to do to plan ahead personally.