Garry's Mod

Garry's Mod

VRMod - Experimental Virtual Reality
Miguu 2019 年 3 月 11 日 上午 10:13
[RIFT] vr init failed error. Any fix?
Hello,

I've seen some people in the comments have the same issue as I have.

The problem is that when you click the "run in steamvr" or hoewer is that button named, it spits out an error which looks like that:
vr init failed [VRMod] lua/autorun/vrutil.lua:512: attempt to index field 'viewModel' (a nil value) 1. VRUtilClientExit - lua/autorun/vrutil.lua:512 2. DoClick - lua/autorun/vrutil.lua:108 3. unknown - lua/vgui/dlabel.lua:234
I ran the mod on an clean game, no mods, no workshop addons and no trash in lua/bin folder.
Still I get this error. (there's no other errors during the map load)
Some people ask themselves if it's the resolution but I am scratching my own head rn and wondering if it really is, because lot's of people on Oculus Rift can launch it (and some of them don't get the screen in their headsets, which i'm afraid this will be my second problem with this mod)

Any help will be appreaciated. and I hope there will be an support for other devices soon.

If you, my dear reader had the same problem, feel free to put the "i have the same problem too" text below, because I think the fix for that is as real as my waifu and gf is. (sad normie life :c)
< >
正在显示第 1 - 5 条,共 5 条留言
Crodo 2019 年 3 月 11 日 下午 3:06 
hm i have no problems what so ever running this mod with my rift and i have tons of mods installed.

mabye start gmod then click run in steamvr instead of opening gmod and steam vr at the same time?
xCeezyx 2019 年 3 月 11 日 下午 6:10 
Did you install the module?
Miguu 2019 年 3 月 12 日 上午 10:06 
@Crodojoe I was doing it all the time. I did never open steamvr for this mod manually.

@xCeezyx If I wouldn't have the module installed the "run in steamvr" button wouldn't be able to press.

Well. I'll try to reinstall gmod or run gmod with steamvr already running. but the second option will fail because i was doing second run attempts with steamvr in the background after it has launched for the first try.
pathetic muffin 2021 年 7 月 15 日 下午 7:18 
I have this same problem
reset 2022 年 8 月 25 日 上午 7:09 
i have the same problem
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50