1.Assertion failed on expression: 'IsMatrixValid(matrix)' && Unity SteamVR: Failed to loadIVRRenderModels interface version IVRRenderModels_005。并且SteamVR插件中的demo不能渲染出手柄。 单从代码中看呢
public CVRRenderModels instance { get { if (_instance == null && !failedLoadInterface) { if (!SteamVR.active && !SteamVR.usingNativeSupport) { var error = EVRInitError.None; OpenVR.Init(ref error, EVRApplicationType.VRApplication_Other); needsShutdown = true; } _instance = OpenVR.RenderModels; if (_instance == null) { Debug.LogError("Failed to load IVRRenderModels interface version " + OpenVR.IVRRenderModels_Version); failedLoadInterface = true; } } return _instance; } }
这里的单例是因为不知道openvr的类型是什么。我猜想是因为你的电脑里面没有安装虚拟现实的东西,打个工程项目的包放到有vive的机子上,这个问题也没有了。。-_-||... 如果连接了vive的机子上也出现了这个问题的话,那么方法就是,重装steamVR,,,我把vive什么的都卸载了,然后整个重装了一遍,就好了。可能这就是玄学吧。。。找不到在哪里单独更新steamVR,就很绝望。
本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。
我来说两句