Player Editor plays well, but meet 64error when building android version:Assets/Common/CameraSettings.cs(11,7): error CS0246: The type or namespace name `Vuforia' could not be found...
Are you missing an assembly reference?

Official Vuforia EmployeeVuforia

Hi scionuait,
Can you make sure that you have checked the "Vuforia Augmented Reality Supported" box in Player Settings -> XR Settings? Without this checked the Vuforia libraries will not be found.
Thanks!

I've installed latest version of Unity3D (2017.3.0b2) , in settings -> XR it has a link to download Vuforia setup installer, I'm trying to install it and its giving an error
Why you guys don't leave previous samples there as Unity and all other organizations do, why you force us to us what you want and we don't have any choice left?

Before i enable the "Vuforia Augmented Reality Support", I could build an apk with empty project. But after i enable the "Vuforia Augmented Reality Support" and the editor auto improt the vuforia package I can't build an apk and show this error all the time.T T

Official Vuforia EmployeeVuforia

I am using unity 2017.2 and still getting these errors when I cloud build. I can not complete a build that was working perfectly with Vuforia 6.2 and unity 2017.1 Now I have switched everything over according to the migration guide and my project won't build please help as I need this to be completed very soon

Official Vuforia EmployeeVuforia

I am using Unity 2017.3.0f3, Vuforia version 7.0.36. Getting similar errors. It was working fine in Unity 2018.2. But not in this version. I had to shift version of Unity from Unity2017.2 coz it was giving error of "Unsupported Texture... 0x13 with my Occulus.

Error Messages are :
Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(22,5): error CS0246: The type or namespace name `ReconstructionBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(28,12): error CS0246: The type or namespace name `PropBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(29,12): error CS0246: The type or namespace name `SurfaceBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(61,31): error CS0246: The type or namespace name `Prop' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(70,34): error CS0246: The type or namespace name `Surface' could not be found. Are you missing an assembly reference?

Hi, I am getting very similar errors as virendravishth. I am on Unity 2017.30f3 personal. I am trying to use Vuforia Hololens sample with my HoloLens. I downloaded the Vuforia HoloLens Sample from the asset store, and I am getting these errors:

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(22,5): error CS0246: The type or namespace name `ReconstructionBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(28,12): error CS0246: The type or namespace name `PropBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(29,12): error CS0246: The type or namespace name `SurfaceBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(61,31): error CS0246: The type or namespace name `Prop' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(70,34): error CS0246: The type or namespace name `Surface' could not be found. Are you missing an assembly reference?

I did not migrate the project from an older version of Unity, I created a new project in 2017.3 and imported the sample project from the asset store.

I've tried some methods of fixing it, like switching the build target to UWP, and enabling VR and Vuforia AR in the XR settings, but that didn't work.

Official Vuforia EmployeeVuforia

Vuforia Core Samples Unity Package on Asset Store has since been updated to (v7.1.30) requiring Unity 2017.3.0 or later.
However, it does not work with Unity Personal 2017.3.0f1 or 2017.3.1f1

I have tried importing the current Asset Store unitypackage (v7.1.30) to a new empty project in each Unity version with Vuforia XR build player settings enabled, (Android TV also needs to be disabled), however those same 'Are you missing an assembly reference?' errors all appear.
Opening those scripts for the linked error messages shows something interesting - specifically, the
"using Vuforia;"
directive at the top of the scripts is greyed out - leading one to think that the Vuforia libraries are not being loaded by Unity even at precompile time.

Surprisingly, I can get Vuforia Ground Plane to work without much effort in an empy project on Unity 2017.3.1f1
simply by creating new gameobjects (ARCamera, Ground Plane Stage, Plane Finder) from the Vuforia menu.

I am sad that Vuforia 7 Ground Plane is not supported on android devices older than Samsung Galaxy S6, but I guess the CPU/GPU prereqs are too high for earlier models....

Hi, I am getting very similar errors as virendravishth. I am on Unity 2017.30f3 personal. I am trying to use Vuforia Hololens sample with my HoloLens. I downloaded the Vuforia HoloLens Sample from the asset store, and I am getting these errors:

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(22,5): error CS0246: The type or namespace name `ReconstructionBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(28,12): error CS0246: The type or namespace name `PropBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(29,12): error CS0246: The type or namespace name `SurfaceBehaviour' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(61,31): error CS0246: The type or namespace name `Prop' could not be found. Are you missing an assembly reference?

Assets/Vuforia/Scripts/DefaultSmartTerrainEventHandler.cs(70,34): error CS0246: The type or namespace name `Surface' could not be found. Are you missing an assembly reference?

I did not migrate the project from an older version of Unity, I created a new project in 2017.3 and imported the sample project from the asset store.

I've tried some methods of fixing it, like switching the build target to UWP, and enabling VR and Vuforia AR in the XR settings, but that didn't work.

Click to expand...

I fixed it doing this
developer.vuforia.com/forum/unity/20173-migration

close your project

make a backup of your current project by copy/pasting its folder or by relying on any source version system. (it shouldn't be useful, but who knows)

under your project folder, delete the Assets/VuforiaFolder

create a new empty Unity project using 2017.3

in the test scene, add any object under the Vuforia submenu; Unity will tell you that it needs to import Vuforia, accept.

navigate to your new project folder, then close Unity

in the new project folder, go in the Assets directory and cut the Vuforia folder

navigate to you project directory, go in Assets and paste the Vuforia folder there.

@byrontik I used your sequence with Unity 2017.4.2 and it did make those errors go away! Must be something about the order in which the Vuforia objects are evaluated. Here's my version, starting a project from scratch:

Create a new project in Unity 2017.4.2 and call it "Mars" because that is the topic of the Vuforia demo.

Hi,
I used Unity 2018 1.1f1 to import vuforia sample core then it shows this error message below.
At the moment , my vuforia is 7.1.31. No idea how to fix this issue now.

Assets/SamplesResources/VuforiaSamplesUI/Scripts/SamplesAboutScreenInfo.cs(77,58): error CS1061: Type `Vuforia.VuforiaRuntime' does not contain a definition for `InitializationState' and no extension method `InitializationState' of type `Vuforia.VuforiaRuntime' could be found. Are you missing an assembly reference?

Official Vuforia EmployeeVuforia

Hi,
I used Unity 2018 1.1f1 to import vuforia sample core then it shows this error message below.
At the moment , my vuforia is 7.1.31. No idea how to fix this issue now.

Assets/SamplesResources/VuforiaSamplesUI/Scripts/SamplesAboutScreenInfo.cs(77,58): error CS1061: Type `Vuforia.VuforiaRuntime' does not contain a definition for `InitializationState' and no extension method `InitializationState' of type `Vuforia.VuforiaRuntime' could be found. Are you missing an assembly reference?

Click to expand...

You'll need to upgrade to 7.1.34 or 7.1.35. You should be provided a link to do this within the Vuforia Configuration.

Hi,
I used Unity 2018.1.6f1, but the version is always 7.1.35.
And I can't use the asset of store.
FusionType is not defined.
I tried to reinstall unity and install version 2017.3.1
and the vuforia version is 7.0.47.
of course the asset is fail to use.
I don't know how to fix it.
Thank you very much.

Attached Files:

Official Vuforia EmployeeVuforia

Hi,
I used Unity 2018.1.6f1, but the version is always 7.1.35.
And I can't use the asset of store.
FusionType is not defined.
I tried to reinstall unity and install version 2017.3.1
and the vuforia version is 7.0.47.
of course the asset is fail to use.
I don't know how to fix it.
Thank you very much.

Click to expand...

You can download Vuforia 7.2.20 from the link shown in the Vuforia Configuration that you can see in that screenshot. Could you install that and try downloading the asset store samples?

You can download Vuforia 7.2.20 from the link shown in the Vuforia Configuration that you can see in that screenshot. Could you install that and try downloading the asset store samples?

Click to expand...

Hi !
I've updated Vuforia to 7.2.20, using Unity 2018.1.7 without the Unity Hub. I located the right directory and pressed install. After that i get tons of Compiltation failures with missing namespace vuforia. It seems to me like the installer totally uninstalled vuforia from my unity version. I can't even add a Vuforia AR Camera or anything related.
Can you please help me out ??

Hi !
I've updated Vuforia to 7.2.20, using Unity 2018.1.7 without the Unity Hub. I located the right directory and pressed install. After that i get tons of Compiltation failures with missing namespace vuforia. It seems to me like the installer totally uninstalled vuforia from my unity version. I can't even add a Vuforia AR Camera or anything related.
Can you please help me out ??

I am new to Hololens so i will explain what all i did to build the sample project

1. Updated Vuforia to 7.2.20 for unity 2018.1.7f1
2. Build the sample with the proper player settings
XR settings to Windows mixed reality with Vuforia augmented reality ticked
3. Build the .sln file using visual studios 2017
4. Release with x86 for local machine, device and remote machine.
For device and remote machine i am getting the debugging error
For local machine when i tried executing the exe
then i get the following error
The code execution cannot proceed because vccorlib140_app.DLL was not found reinstalling the program may fix this problem.

For emulator build although it gets deployed on the emulator but the error pops stating that Vuforia is not supported for this device for what all i have read so far vuforia application does not work on emulator.

Please provide me a way to run the image target sample on the hololens.

If you can provide a step by step process to deploy and run the sample on hololens then that will be great because i have not seen my error anywhere

If i am doing some small mistake then please point me in the right direction

Hello @Vuforia-Strasza i just started using Vuforia, however i cant compile the defult mars scene and export it to my android,

there is nothing i added, this is your normal project
- i created account and installed the key to vuforia conf
- and i selected my android platform then i checked the AR support,
- i unchecked the Android tv and android game too,
what to do now pls?

Official Vuforia EmployeeVuforia

This API was deprecated at some point in the past (Vuforia Engine 6.5?) in lieu of Unity's VideoPlayer class in Unity 2017.3. This is now demonstrated as part of our Core Samples in one of the Image Target's prefabs.

The Video Playback sample was not a feature of Vuforia. Rather, it is a demonstration app that provides source code to devs as a reference for creating a similar experience. Unfortunately, this can also mean that your success may vary when trying to re-use the codebase in its existing form.

And 2018.3.2. I try to download and install the latest version of the Vuforia plugin but it gives me an error every time. Any thoughts?

EDIT:

I found a solution that worked for me, wanted to share it with you all as well (note, I think this is a Mac-specific solution). For whatever reason, the Vuforia plugin installer depends on there being a folder called /Applications/Unity where the Unity executable resides. The way Unity works now is it nests the executable in a version number folder, i.e. /Applications/Unity/2017.3.2f1. The solution is:

Rename the Unity folder to something like "Unity-temp"

Take the folder that actually contains the Unity executable (i.e. 2017.3.2f1) and move it up a level to the Applications folder (so it'll be /Applications/2017.3.2f1).

Rename the 2017.3.2f1 folder to Unity (so now you'll have two folders: Unity-temp (originally the "Unity" folder) and Unity (originally the "2017.3.2f1" folder).

Run the package installer again, and this time it should work

Re-nest the "Unity" folder inside the "Unity-temp" folder and rename it back to "2017.3.2f1". Then rename "Unity-temp" back to "Unity"

Hi scionuait,
Can you make sure that you have checked the "Vuforia Augmented Reality Supported" box in Player Settings -> XR Settings? Without this checked the Vuforia libraries will not be found.
Thanks!

Oops...

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.