Basic setup of SDK

Could it be that the ARGyroCamera script is doing head tracking as well? It’s on the ARCamera object inside the Aryzon object. Disabling this makes sure Vuforia is the only one doing the tracking :slight_smile:

For the Aryzon app we use an online database to collect camera location data. We are now working on getting this information to all SDK users. For iPhone it’s quite simple since there are only a couple of models. We are putting this data in the next version of the SDK.

I’m getting errors when trying Aryzon in Unity 2017.3 0f3 (also couldn’t get it to work properly on 2017.2)

str:
Downloaded the aryzon sdk.
freshly Installed unity 2017.3 0f3 with vuforia package
create new project,
switch to android project
turned on Player settings - XR Settings - Vuforia Augmented reality
paste my Vuforia API Licence key in vuforia settings.
import aryzon unitypackage.

Errors in console:

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?

Can’t run anything because of these errors.

I can remove DefaultSmartTerrainEventHandler.cs from the project and OpenSourceInitializer.cs and then the aryzon examples work.

So that might need some looking into? :slight_smile:

Thanks for letting us know! I’m guessing you are using Vuforia 7 which was released a couple of days ago and changed a lot of stuff, a lot of exciting stuff though! We had a chat with them at AWE, they support ~90% of all smartphone devices in the market with their markerless tracking. Now we all have little HoloLenses in our pocket :sunglasses:

Also. using a webcam on PC to test the VuforiaTracking example. I see the webcam plane in editor and get the correct view (of camera + 3d objects) when I adjust my view to the camera’s view.
But in the Game I only see the webcam plane when I rotate the camera using mouse+ alt key. then the webcam view floats somewhere in front of me, and appears and dissappears as you rotate…

Is that how it’s supposed to work?

drat, forgot to hit reply… this was supposed to be posted right after my first post :stuck_out_tongue:

I see what you mean, that’s not really how it is supposed to work. I think the SimpleSmoothMouseLook script is on the wrong GameObject, try placing it on the Aryzon GameObject and look around does this help?

Normally for the Aryzon headset you don’t want the VideoBackground to be enabled in you Vuforia configuration. When you place the phone into the Aryzon headset the background should be black.

However if you want a video background because you want to switch between 3D AR and 2D AR (by just looking at the screen of the phone, not in the headset), you will have to turn the video background off when you go into Aryzon mode. You will have to do this manually by disabling the BackgroundPlane GameObject that is created at runtime by Vuforia as a child of the Aryzon GameObject.

The SDK has been updated, this version makes life a little easier! Check out the sample project, your starting point is the scene with name ‘Main’. You’ll find a Vuforia and ARKit sample scene.

Vuforia will start even if there is no VuforiaBehaviour component in the scene and you have Vuforia enabled in the player settings. Making it a bit annoying when using Vuforia in one scene and ARKit in another… That’s why there’s a dummy ARCamera in the ARKit scene, to have Vuforia not mess with the transform of the Aryzon->ARCamera game object.

If you are only using ARKit I recommend removing all assets linked to Vuforia and disabling Vuforia in the XR player settings.

Have fun!

Major SDK update released! We will use version codes from now on so you’ll know when to update. See what’s changed here:

Hello,

I installed the new SDK en loaded example in Unity, configured Vuforia. Build en deployed to my phone.
But I only see a blank horizon and not the menu or possibility to look at Aryzon logo.
What am I doing wrong?

grtz,

Twan

Hi Twan, could you tell me what you mean with blank horizon? Do you have multiple camera’s in your scene? As I said in the other thread the SDK will be updated tomorrow and it will be significantly different from what it is now so I think it’s worth waiting a day and trying again then.

Hi,

I just received my headset and am eager to try developing stuff for it. So I downloaded and imported the SDK, but got a compile error, even after I changed to Android and ticked Vuforia in the XR player settings:

Assets/Vuforia/Scripts/DefaultInitializationErrorHandler.cs(18,50): error CS0246: The type or namespace name `VuforiaMonoBehaviour’ could not be found. Are you missing an assembly reference?

Am I still missing something? i am using Unity 2017.3.1.

Thanks!

Hi Joost, I created a new thread for the issue: Type or namespace name `VuforiaMonoBehaviour’ could not be found

I am using Unity 2018.2.5f1 on windows 10, when i put Aryzon prefab in the hierarchy tab then appears on inspector tab following note: “The associate script can no be loaded. Please fix any compile errors and assign a valid script”. Can you tell me if it is neccessary a new SDK update.Than you for help.
Albeiro

Hi Albeiro, I’m not sure, I’m not on 2018.2.5f1 yet. Does your console give more information about the error?

Hi, I am following this video - how to import the Aryzon SDK into Unity. However it seems the ARKIT is no longer supported. What do you suggest, or how would you move forward on this work?
Thanks for any suggestions or guidance.

CJH

New release! Version 2.2 is out, check out the latest tutorial video to see what has changed: https://youtu.be/0NsFC0wpdbs a summary:

  • Manual calibration options added to SDK, no need to go to the Aryzon app and recalibrate
  • Added support for ARFoundation
  • Added rotational tracking fallback when room scale tracking fails
  • Default tracking engine now is ARFoundation (replaces ARCore + ARKit)
  • Added prediction on the movement of the phone making movement more realistic by reducing lag.
  • New way to interact with objects and Canvas items.
  • Support for bluetooth controllers to ‘click’ instead of a time-delay click for the reticle.
1 Like