Log in or register to post comments

Build fail - All errors Vuforia related

April 3, 2019 - 6:14pm #1

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.

Build fail - All errors Vuforia related

June 24, 2019 - 7:32am #6

I had the same errors. After I installed the newest version of Vuforia though, it worked.

Build fail - All errors Vuforia related

June 20, 2019 - 10:13am #5

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 believe in the past this would result in a warning indicating Vuforia support needed to be enabled but that doesn't appear to be the case in the version we're using (version 8.1.10). Renabling this option resolved these errors for us.

Build fail - All errors Vuforia related

April 23, 2019 - 9:37am #4

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.

Our expectation is that with the coming Unity Package Manager solution (2019.1?), each project explicitly links which Engine version it is using, and cloud builds will be able to build against the right version.

Thanks,

Vuforia Engine Support

Build fail - All errors Vuforia related

April 22, 2019 - 5:43am #3

Looks like Vuforia still does not work with Unity Cloud Build in the latest 2018.13.0f3

Build fail - All errors Vuforia related

April 5, 2019 - 9:23am #2

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.

As the SDK evolves and APIs are created/changes, so do the samples to be compatible with them. Here's how you can check the versions of both (assuming you used Vuforia samples resources):

  • SDK version: Unity Editor->Window->Vuforia Configuration
  • Samples version: Unity Editor->Project window: Assets/Vuforia/version

Thanks,

Vuforia Engine Support

Log in or register to post comments