Log in or register to post comments

Can't Load Vuforia in Unity 2019.2.0f1

August 19, 2019 - 7:07am #1

Hi All, 

I've recently upgraded from Unity 2019.1.5f1 with Vuforia 8.1.7 to 2019.2.0f1 and Vuforia 8.3.8, and I now can't get Vuforia to work at all. My AR projects were working fine before, but I now I can't even import the Vuforia package into Unity. I have activated it on the Android Player Settings window, but when I try to add an AR camera it asks to download extra assets just like before, I press OK, and it downloads for a short while before failing and giving me a long list of errors. I've attached a screenshot of the Console log with what I think is one of the main culprits highlighted, but I don't know how to go about fixing it. 

I'm not sure if this is looking in the right direction, but I found this blog post in fixing GUID (if that's even the problem) - https://blog.doppioslash.com/mildly-painful-solution-to-unity3ds-meta-guid-hell/ - If this is the right way to go, which folders / files do I need to delete? 

Can anyone give me any advice? I'm pretty new to Unity and doing this for a work project, so simple instructions would be much appreciated! 

AttachmentSize
Image icon Vuforia Error 19-8-19.JPG230.54 KB

Can't Load Vuforia in Unity 2019.2.0f1

February 18, 2020 - 2:51pm #17

solved :) 

Can't Load Vuforia in Unity 2019.2.0f1

February 17, 2020 - 4:22am #16

Hi,

The XR Settings will be deprecated in the future, hence Vuforia is not more available via that settings.

The recommended way to install is described in this article: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/vuforia-engine-package-hosting-for-unity.html

(short version: download script, run it, Vuforia is installing)

Thank you.

Vuforia Engine Support

Can't Load Vuforia in Unity 2019.2.0f1

February 17, 2020 - 1:07am #15

Hi! i try to use vuforia in unity with the 2019.3.1f1 version, but i don't see vuforia at all, when i go in player settings, then xr settings, there's only "vr reality supported", and no "vuforia augmented reality supported". Can someone help me ?

Thank you in advance !

Can't Load Vuforia in Unity 2019.2.0f1

August 23, 2019 - 5:09am #14

I tried deleting it completely out of the Assets folder in the project window and that didn't work. 

However, I used the Package Manager to remove Vuforia and then reinstall it, and that seems to have done the trick. I'll have to re-import the package every time on a new project, but at least it seems to be working, in both an existing project and a brand new project.

Thanks for your help :) 

Can't Load Vuforia in Unity 2019.2.0f1

August 23, 2019 - 4:22am #13

Hi,

I have should have been more specific, I was referring to the Assets folder in the project view from the Editor.

Thank you.

Vuforia Engine Support.

 

Can't Load Vuforia in Unity 2019.2.0f1

August 22, 2019 - 7:48am #12

Ok I'll try that, where is the Assets folder? Is it in the Unity project itself, or in the program files?

Can't Load Vuforia in Unity 2019.2.0f1

August 22, 2019 - 7:33am #11

Hi,

I believe that with the upgrade you made, somehow you have now 2 vuforia installs lingering in the Editor. One via normal update/install and the second one with the packatmanager. By deleting the Vuforia Folder from Assets, you should be able to import the AR Camera.

Thank you.

Vuforia Engine Support

Can't Load Vuforia in Unity 2019.2.0f1

August 22, 2019 - 6:46am #10

I've tried both of those steps in an existing project and a new project, and neither worked. I've attached both of my console logs to show it's still having the same issues as before. 

Can't Load Vuforia in Unity 2019.2.0f1

August 22, 2019 - 6:07am #9

Hi,

This is a a very strange behavior. Could you please create a new project and try following steps?

- Go under Build Settings-> Player Settings -> XR Settings and toggle the check/mark off and on

    Try add an AR Camera to the Scene

- if the above fails, go in the Unity Editor -> under your Asset -> select the Vuforia folder-> Right Click and select Reimport All ( make sure the above checkmark is selected, we want to have Vuforia Enabled)

    Try to add an AR Camera to the Scene

Both actions force  Vuforia to reimport

Thank you.

Vuforia Engine Support

Can't Load Vuforia in Unity 2019.2.0f1

August 21, 2019 - 5:38am #8

I get no error windows popping up, but I won't let me add anything Vuforia related into the hierarchy. If I try to add an AR camera or Image it asks to import the Vuforia files, downloads for a short while, then finishes without adding anything to the hierarchy. If I try again to add something the same thing happens as though it hasn't downloaded anything. 

Can't Load Vuforia in Unity 2019.2.0f1

August 21, 2019 - 5:13am #7

Hi,

In the attached print-screen I could only notice warnings, 0 Errors. You can ignore the warnings.

Do you get a pop error when adding the AR Camera? Try to add the AR Camera and let me know if you can see the GameObject in the Hierarchy.

Thank you.

Vuforia Engine Support

Can't Load Vuforia in Unity 2019.2.0f1

August 21, 2019 - 4:59am #6

I've been doing this in a brand new project, so no need for a backup thankfully. I deleted the library file and it did seem to download some additional files. The problem is still there though, I can't add an AR camera or AR Target and I get the error log attached. 

If I delete the files that are giving the GUID errors will that work, or will that break it even more?

AttachmentSize
Image icon Vuforia Error 21-8-19.JPG104.8 KB

Can't Load Vuforia in Unity 2019.2.0f1

August 21, 2019 - 4:26am #5

Hi @PipLAC

Could you please delete the "Library" folder in the root directory of your project? Please perform this action when the project is closed, afterwards re-open the project. My understanding is that this forces Unity to re-import all assets and may help to resolve the errors.

In addition before deleting the "Library" folder please make sure to backup your entire project in case of some unexpected errors.

Thank you.

Vuforia Engine Support

Can't Load Vuforia in Unity 2019.2.0f1

August 20, 2019 - 5:02pm #4

So this error is not from Vuforia.

I tried unity WebCamTexture and Unity freeze.

So I have problem with Unity accessing the web camera.

Can't Load Vuforia in Unity 2019.2.0f1

August 20, 2019 - 5:35am #3

Yes I've done that. The error comes when I try to add a target or AR camera. 

Can't Load Vuforia in Unity 2019.2.0f1

August 20, 2019 - 4:40am #2

Hi,

Did you enable Vuforia Augmented Reality Support in Unity's XR Settings? File->Build Settings...->Player Settings...?

Thank you.

Vuforia Engine Support

Log in or register to post comments