cancel
Showing results for 
Search instead for 
Did you mean: 

Newbie trying to get started: Missing Frameworks/libthird-party_pffft_pffft.dylib

rundeks
Level 2

Hello All,

 

I am just getting into VR Development. I have been going through the Unity setup. I am on https://developer.oculus.com/documentation/unity/unity-import/ When I import the SDK from the Unity App Store and then restart unit I get a warning and several errors (see below). I've tried searching to see what the cause of these might be, but I am not having much luck. Since this is new to me I'd appreciate any help or pointers people can give.

 

Thank You,

Kevin Runde

 

Plugins: Couldn't open /Users/kevinrunde/MetaStarter/Assets/Oculus/Spatializer/Plugins/AudioPluginOculusSpatializer.bundle/Contents/MacOS/AudioPluginOculusSpatializer, error: dlopen(/Users/kevinrunde/MetaStarter/Assets/Oculus/Spatializer/Plugins/AudioPluginOculusSpatializer.bundle/Contents/MacOS/AudioPluginOculusSpatializer, 0x0002): Library not loaded: '@rpath/libthird-party_pffft_pffft.dylib'
Referenced from: '/Users/kevinrunde/MetaStarter/Assets/Oculus/Spatializer/Plugins/AudioPluginOculusSpatializer.bundle/Contents/MacOS/AudioPluginOculusSpatializer'
Reason: tried: '/Applications/Unity/Hub/Editor/2021.3.12f1/Unity.app/Contents/MacOS/../Frameworks/libthird-party_pffft_pffft.dylib' (no such file), '/Applications/Unity/Hub/Editor/2021.3.12f1/Unity.app/Contents/MacOS/../Frameworks/libthird-party_pffft_pffft.dylib' (no such file), '/usr/local/lib/libthird-party_pffft_pffft.dylib' (no such file), '/usr/lib/libthird-party_pffft_pffft.dylib' (no such file)
UnityEditor.AssetDatabase:Refresh ()
Unity.Services.Core.Configuration.Editor.ProjectConfigurationBuilder:AddConfigToProject (string) (at Library/PackageCache/com.unity.services.core@1.4.3/Editor/Core/Configuration/ProjectConfigurationBuilder.cs:89)
Unity.Services.Core.Configuration.Editor.ProjectConfigurationBuilder:GenerateConfigFileInProject () (at Library/PackageCache/com.unity.services.core@1.4.3/Editor/Core/Configuration/ProjectConfigurationBuilder.cs:78)
Unity.Services.Core.Configuration.Editor.ProjectConfigurationBuilder:UnityEditor.Build.IPreprocessBuildWithReport.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport) (at Library/PackageCache/com.unity.services.core@1.4.3/Editor/Core/Configuration/ProjectConfigurationBuilder.cs:107)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

BuildFailedException: Oculus Utilities Plugin with OpenXR only supports XR Plug-in Managmenent with Oculus XR Plugin.
OVRGradleGeneration.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Assets/Oculus/VR/Editor/OVRGradleGeneration.cs:212)
UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass16_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:436)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:402)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

Error building Player: BuildFailedException: Oculus Utilities Plugin with OpenXR only supports XR Plug-in Managmenent with Oculus XR Plugin.

Build completed with a result of 'Failed' in 0 seconds (391 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:193
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

 

2 REPLIES 2

digicortex
Level 2

Did you manage to solve this? I'm facing the same problem

@digicortex I reached out to Oculus support and they told me:

 

Please make sure you enable the Oculus on XR Plugin-In Management, you can locate it at Project Settings>XR Plug-In Management> go to android and enable the Oculus. https://developer.oculus.com/documentation/unity/unity-xr-plugin/ 

That fixed the problem for me. In one app I had that installed and was setup correctly it looks like, but going into that menu fixed things. In a second app I had done to make sure I didn't mess anything up it didn't have that plugin installed so when I went to that in the Project Management section (look under the File menu if you don't know) it prompted me to install it and then auto selected oculus for me.

 

Hope this helps you!

rundeks