Basic setup of SDK


#30

Thanks. Does seem a bit “hit and miss”! I notice in the official Aryzon app that the models (e.g. the elephant, the globe etc,) are perfectly locked to the marker with my iPhone 7, with no adjustments required by myself, out of the box. However when I look at the advanced settings in the official app, and copy those values to the test Unity build, the cube isn’t locked to the same position… Are there other parameters that need configuring?

My first impression was that the basic cube demo ought to show the cube locked perfectly to the marker out of the box too…


#31

Where did you copy the parameters to? Did you input them on the phone in the advanced settings or did you set them in the unity editor or the script. Because if you want to change them in the script, you need to keep in mind that the changes you make on the phone are saved to PlayerPrefs, which are remembered. So changing the values in the editor and script don’t influence that. If you did change the parameters on your phone, I don’t know how it’s not working the same.

The only other ‘parameter’ that you can configure is the position of the cube on the marker in the unity editor. The position on there matters as well.


#32

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.


#33

#34

#35

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:


#36

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:


#37

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:


#38

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.


#41

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!


#42

#43

#44

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


#45

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


#46

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.


#47

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!


Type or namespace name `VuforiaMonoBehaviour’ could not be found
#48

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


#49

#50

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


#51

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