- Home /
[Unity 2017.3 + Vuforia 7] - Could not find "VuforiaPluginLoader.mm"
Hello!
I am in some desperate need for help... I am on Windows 10 (64 bit) and, basically, whenever I try to build my project for iOS, it fails saying it was unable to find the file "VuforiaPluginLoader.mm".
This only happens when I enable VR using the Vuforia SDK for iOS - AR only works just fine (and so does VR on Android).
I tried reimporting Vuforia and even upgraded Unity to the latest patch (2017.3.0p4), but the issue persists. Building one of the example projects for Vuforia yielded the same result.
Here's the full stacktrace
IOException: Failed to Copy File / Directory from 'C:/Program Files/Unity/Editor/Unity.exe\..\PlaybackEngines\VuforiaSupport\iOS/VuforiaPluginLoader.mm' to 'D:/Unity Projects/Builds/iOS_VR\Classes/VuforiaPluginLoader.mm'.
UnityEditor.FileUtil.CopyFileOrDirectory (System.String source, System.String dest) (at C:/buildslave/unity/build/artifacts/generated/common/editor/FileUtilBindings.gen.cs:36)
UnityEditorInternal.VR.iOS.PostProcessVR.ModifyXcodeProjectVuforia (System.String pluginFolder, System.String buildFolder) (at C:/buildslave/unity/build/Extensions/UnityVR/Editor/BuildPostProcessVR.cs:375)
UnityEditorInternal.VR.iOS.PostProcessVR.PostProcessBuild_iOS (BuildTarget target, System.String path) (at C:/buildslave/unity/build/Extensions/UnityVR/Editor/BuildPostProcessVR.cs:196)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.Build.BuildPipelineInterfaces+AttributeCallbackWrapper.OnPostprocessBuild (BuildTarget target, System.String path) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:86)
UnityEditor.Build.BuildPipelineInterfaces.OnBuildPostProcess (BuildTarget platform, System.String path, Boolean strict) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:324)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
The file in question exists in my PC, but it seems Unity is somehow trying to find it inside the executable? Is there any way around this? Can I manually add the needed files and link them or something?
Answer by vasanthkalai · Feb 08, 2018 at 09:03 AM
This is a bug in unity 2017.3 because "C:/Program Files/Unity/Editor/Unity.exe..\PlaybackEngines\VuforiaSupport\iOS/VuforiaPluginLoader.mm" in this path there is no folder available as Unity.exe Kindly wait for the next release
Damn... is that based on your own experience/assessment or is it somewhere in the issue tracker?
I hope the Unity $$anonymous$$m is aware of it. It may be limited to a specific case (Vuforia+VR+iOS build+Windows Editor), but this issue is pretty serious :(
Your answer
![](https://koobas.hobune.stream/wayback/20220612152111im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
iPhone Virtual Reality App won't load onto my phone. 0 Answers
Build error for android Gear Vr Assembly-CSharp.dll could not be found on OSX 2 Answers
Unauthorized access exeption when building to Oculus quest 2 0 Answers
ios sound is not playing using vuforia plugins and easy movies texture. 0 Answers