Topic locked

Updating old Unity + Vuforia Projects

SDK 10.0
August 25, 2021 - 3:34am #1

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!

SDK Version: 

Updating old Unity + Vuforia Projects

August 30, 2021 - 5:56am #4

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

Technical Community Manager

Updating old Unity + Vuforia Projects

August 27, 2021 - 1:27am #3

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.

The probems with the 'IUnityAndro​idPermissions' and the 'IUnityCompiledFacade' i found nothing about.

Updating old Unity + Vuforia Projects

August 26, 2021 - 3:51am #2

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

Vuforia Engine v10.0.12 overhauled the API and makes it much easier to and faster to create AR experiences, but it does need some extra effort to migrate older projects, hence the migration guide.

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked