Google VR SDK 无法编译

Google VR sdk won't compile

当我将 sdk 添加到我的项目并尝试编译时,出现以下错误:

Assets/GoogleVR/Scripts/GvrViewer.cs(84,18): error CS0246: The type or namespace name StereoController' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(171,11): error CS0246: The type or namespace nameGvrProfile' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(188,11): error CS0246: The type or namespace name GvrProfile' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(192,18): error CS0246: The type or namespace nameBaseVRDevice' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(69,17): error CS0246: The type or namespace name StereoController' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(157,10): error CS0246: The type or namespace nameGvrProfile' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(174,10): error CS0246: The type or namespace name GvrProfile' could not be found. Are you missing a using directive or an assembly reference? Assets/GoogleVR/Scripts/GvrViewer.cs(253,10): error CS0246: The type or namespace nameGvrProfile' could not be found.

您是否缺少 using 指令或程序集引用?

我是不是漏掉了什么?

从 1.0 开始,GVR Unity SDK 将针对原生集成(现在处于技术预览阶段)。如果您使用的是没有技术预览的版本,那么您需要一些额外的脚本,这些脚本在 "backwards compat" 包中。