"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

Updating old Unity + Vuforia Projects

Hello everybody,

i got an 2 year old Unity Project with Vuforia and should get it working again, but i run into a couple of errors. I am using Unity 2020.3.16 and updated Vuforia to 10.0.12. I got the following errors: 

  •  Assets\Vuforia\Scripts\DefaultInitializationErrorHandler.cs(22,59): error CS0426: The type name 'InitError' does not exist in the type 'VuforiaUnity'
  • 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\DefaultTrackableEventHandler.cs(52,28): error CS0426: The type name 'Status' does not exist in the type 'TrackableBehaviour'
  • Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(21,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\Internal\RuntimeOpenSourceInitializer.cs(40,22): error CS0246: The type or namespace name 'IUnityAndroidPermissions' 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\DefaultModelRecoEventHandler.cs(44,31): error CS0246: The type or namespace name 'TargetFinder' could not be found (are you missing a using directive or an assembly reference?)

Does anybody have an idea how to solve these? 

Thanks in advance!

Hey there,

 

Just to verify, did you use the migration guide to check which variables changed with the latest release? You can find the guide here: https://library.vuforia.com/project-migration/how-migrate-unity-project

Thanks for your answer!

 

Yeah, i managed to solve a couple of these Errors with the help of the migration guide, but sadly not all of them.

Hey there,

 

Very happy to hear that the migration guide was of help for you. Can you let me know which previous Vuforia Engine version you used, was this v9.x or even older?

 

Kind regards,

Patrick