By carlywysocki
on Thu, 04/04/2019 - 01:14
I'm trying to build my .apk file in Unity, but I keep getting a message saying "Build completed with a result of 'failed'". When I check the errors, they're all very similar and related to Vuforia. I'll list all the errors below (some are repeated on different lines, so I'll keep those ones out). Can someone please help me figure out how to fix this? I found similar questions to this one, and it was recommended I update to the latest version of Vuforia - I did this but still got the errors.
- Assets\Vuforia\Scripts\DefaultTrackableEventHandler.cs(18,60): error CS0246: The type or namespace name 'ITrackableEventHandler' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultInitializationErrorHandler.cs(18,50): error CS0246: The type or namespace name 'VuforiaMonoBehaviour' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(16,16): error CS0246: The type or namespace name 'IUnityCompiledFacade' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultModelRecoEventHandler.cs(18,60): error CS0246: The type or namespace name 'IObjectRecoEventHandler' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultInitializationErrorHandler.cs(22,46): error CS0246: The type or namespace name 'VuforiaUnity' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultTrackableEventHandler.cs(52,9): error CS0246: The type or namespace name 'TrackableBehaviour' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultModelRecoEventHandler.cs(146,31): error CS0246: The type or namespace name 'TargetFinder' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(36,20): error CS0246: The type or namespace name 'IUnityRenderPipeline' could not be found (are you missing a using directive or an assembly reference?)
- Assets\Vuforia\Scripts\DefaultModelRecoEventHandler.cs(236,13): error CS0246: The type or namespace name 'ModelTargetBehaviour' could not be found (are you missing a using directive or an assembly reference?)
Thank you in advance for your help.
Hello,
Hello,
Not sure how you created your app, but these error look similar to ones you'd get if there was a mismatch between the Engine SDK version and the Vuforia samples.
Looks like Vuforia still does
Looks like Vuforia still does not work with Unity Cloud Build in the latest 2018.13.0f3
Hello @inayo,
Hello @inayo,
Unity is no longer investing in their current package solution, so the fact that this bug remains does not come as a surprise.
Not sure if you have a
Not sure if your issue is the same but we were getting these exact errors in projects that had previously worked fine. In these projects, the 'Vuforia Augmented Support' option in the player settings somehow became unset.
I had the same errors. After
I had the same errors. After I installed the newest version of Vuforia though, it worked.