"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Build fail - All errors Vuforia related

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,

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.

niarEcorey

Thu, 06/20/2019 - 17:13

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.