简体   繁体   English

如何升级 Google Cardboard sdk 以实现统一?

[英]How to upgrade google cardboard sdk for unity?

I'm creating simple vr game and I use spatial audio in it.我正在创建简单的 VR 游戏,并在其中使用空间音频。 Recently 0.7 version of cardboard sdk for unity came out and I want to upgrade my 0.6 version because they added audio mixers for spatial audio.最近 0.7 版本的纸板 sdk 出来了,我想升级我的 0.6 版本,因为他们为空间音频添加了混音器。 I'm new to unity so I'm probably doing somtehing wrong.我是 unity 的新手,所以我可能做错了。 I just tried importing new package but I've got this error while I was trying to import it:我刚刚尝试导入新包,但在尝试导入时出现此错误: 错误1 (odmowa dotępu means access denied) Then when I click cancel I get these bugs: (odmowa dotępu 表示访问被拒绝)然后当我点击取消时,我得到这些错误: 错误2

Do you know how should I upgrade this package correctly?你知道我应该如何正确升级这个包吗? I haven't done anything like this before so I might have done it completely wrong.我以前没有做过这样的事情,所以我可能做错了。

On GVR's page it is suggested to open an empty scene and delete the GoogleVR and Plugins folders before importing the new version: https://developers.google.com/vr/unity/release-notes#upgrade_instructions在 GVR 的页面上,建议在导入新版本之前打开一个空场景并删除 GoogleVR 和 Plugins 文件夹: https : //developers.google.com/vr/unity/release-notes#upgrade_instructions

In GVR 1.30 I still get this error.在 GVR 1.30 中,我仍然收到此错误。 Although I delete all previous files of the package (Both GoogleVR and Plugins folders) I still get the same error but clicking cancel completes the installation without any errors.虽然我删除了包的所有先前文件(GoogleVR 和 Plugins 文件夹),但我仍然遇到相同的错误,但单击取消完成安装,没有任何错误。 I can also find the problem file audioplugingvrunity.dll in x86_64 folder.我还可以在 x86_64 文件夹中找到问题文件 audioplugingvrunity.dll。

I don't know how it can happen but maybe the package installer is trying to write the same file more than once.我不知道它是怎么发生的,但也许包安装程序试图不止一次地编写同一个文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM