C# Oculus集成包中的Unity Spatializer,用于在未';我没被碰过

C# Oculus集成包中的Unity Spatializer,用于在未';我没被碰过,c#,unity3d,virtual-reality,oculus,C#,Unity3d,Virtual Reality,Oculus,构建在编辑器中运行良好,没有任何问题。但在尝试为Android/PC构建时,Mac&Linux单机版/通用Windows平台unity向我抛出了大约30个错误(下图),这些错误都属于unity Audio Spatializer中的一系列脚本。我没有碰过这些脚本,我甚至不知道它们是什么。有人有办法吗 我已尝试在Project Settings>Audio中将spatializer插件设置为OculuSpatializer 我尝试了“为当前场景构建音频几何体”和“为所有场景重建音频几何体”删除A

构建在编辑器中运行良好,没有任何问题。但在尝试为Android/PC构建时,Mac&Linux单机版/通用Windows平台unity向我抛出了大约30个错误(下图),这些错误都属于unity Audio Spatializer中的一系列脚本。我没有碰过这些脚本,我甚至不知道它们是什么。有人有办法吗

我已尝试在Project Settings>Audio中将spatializer插件设置为OculuSpatializer

我尝试了“为当前场景构建音频几何体”和“为所有场景重建音频几何体”

删除Assets\Imported\Oculus\VR\Spatializer\editor文件夹中的所有文件,效果良好

请不要发布图像。问题应包含问题本身中的所有相关信息作为文本,包括。@ChrisMM将所有错误添加为文本
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioPluginUpdater.cs(24,19): error CS0234: The type or namespace name 'Callbacks' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(22,19): error CS0234: The type or namespace name 'Build' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(24,19): error CS0234: The type or namespace name 'SceneManagement' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationMaterialEditor.cs(29,55): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioPluginUpdater.cs(32,2): error CS0246: The type or namespace name 'InitializeOnLoadAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioPluginUpdater.cs(32,2): error CS0246: The type or namespace name 'InitializeOnLoad' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationMaterialEditor.cs(28,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationMaterialEditor.cs(28,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationMaterialEditor.cs(515,24): error CS0115: 'ONSPPropagationMaterialEditor.OnInspectorGUI()': no suitable method found to override
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioPluginUpdater.cs(106,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioPluginUpdater.cs(106,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioSourceEditor.cs(29,50): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioSourceEditor.cs(27,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioSourceEditor.cs(27,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPAudioSourceEditor.cs(41,23): error CS0115: 'OculusSpatializerUserParamsEditor.OnInspectorGUI()': no suitable method found to override
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(42,35): error CS0246: The type or namespace name 'BuildTarget' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationGeometryEditor.cs(28,46): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationGeometryEditor.cs(27,2): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationGeometryEditor.cs(27,2): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationGeometryEditor.cs(30,23): error CS0115: 'ONSPPropagationGeometryEditor.OnInspectorGUI()': no suitable method found to override
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(47,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(47,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPReflectionCustomGUI.cs(25,53): error CS0246: The type or namespace name 'IAudioEffectPluginGUI' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(53,6): error CS0246: The type or namespace name 'MenuItemAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPPropagationSerializationManager.cs(53,6): error CS0246: The type or namespace name 'MenuItem' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPReflectionCustomGUI.cs(42,32): error CS0246: The type or namespace name 'IAudioEffectPlugin' could not be found (are you missing a using directive or an assembly reference?)
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPReflectionCustomGUI.cs(27,28): error CS0115: 'OculusSpatializerReflectionCustomGUI.Name': no suitable method found to override
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPReflectionCustomGUI.cs(32,28): error CS0115: 'OculusSpatializerReflectionCustomGUI.Description': no suitable method found to override
Assets\Imported\Oculus\VR\Spatializer\editor\ONSPReflectionCustomGUI.cs(37,28): error CS0115: 'OculusSpatializerReflectionCustomGUI.Vendor': no suitable method found to override