Description

Discussions related to: ARFoundation, Session Recorder API, External Camera, Vuforia Driver, etc.

App crashing using Vuforia and AR Foundation

I have a similar problem to this post, which has no answer (https://developer.vuforia.com/forum/other-features/app-crashing-when-using-arfoundation-and-vuforia)

 

Platform information:

AR Foundation 4.2.6 ARCore XR Plugin 4.2.6 ARKit XR Plugin 4.2.6 Vuforia 10.13.3 Unity 2021.2.12f1

 

We want to combine AR Foundation and Vuforia into one scene to use the plane detection feature of AR Foundation. To start I followed the tutorial here https://library.vuforia.com/getting-started/getting-started-vuforia-engine-unity#vuforia-setup. When I build for Android the app crashes after detecting the image. No logs in adb, just like the post above. When I build for iPad I have a black screen. In the editor I am able to detect the Image and show the sphere (whithout correct reflections due to AR foundation not working in editor).

 

Hopefully you can help!

Hey there,

 

Can you share any logs so we could better understand where the app might crash?

 

Kind regards,

Patrick Scheper

Vuforia Engine Product Manager

Fixed!

After making a minimal Unity project where everything was working correctly, we copied over all the build settings from the minimal project into our own and reimported everything by deleting the library folder. Now everything is working!

Light estimation

Hi everyone, 

i'm building an app and I would to know/have a script for external lights estimation. Anyone have already tried them?

Unity Universal Render Pipeline URP integration

Hello,

I am trying to understand if Vuforia can be used with the Universal Render Pipeline in Unity on iOS. I was able to load the URP, including the VFX graph. I was able to see the particle system in the scene.

However I noticed that some post processing effects do not render. I wasn't able to get the bloom effect to work but the vignette effects worked with no problems.

I also noticed that when I import a model target, the material seems broken (pink).

I hear that the URP is not officially supported, but is it possible to understand what works and what doesn't exaclty?

Many thanks

Michele

Hello,

There are some limitations documented in our release notes: https://library.vuforia.com/release-notes/vuforia-engine-release-notes

Thanks,

Vuforia Engine Support

micheleLF

Tue, 09/13/2022 - 20:07

In reply to by medabit

Hello and thank you for your answer.

 

I checked the release notes but all I could find in relation to the URP is this line "Setting the far clip plane to a large number can cause the video background image to flicker when using the URP in combination with GLES3".

Device tracking is not working if FusionProviderType is VISION_ONLY?

My final goal is to develop an android app and android phone connect AR glasses with camera and IMU.

Use the camera on the android phone (FusionProviderType is SENSOR_FUSION and PLATFORM_SENSOR_FUSION), the device pose that can be taken normally (VuforiaBehaviour.Instance.transform.eulerAngles and VuforiaBehaviour.Instance.transform.position will change).

Then I follow this to use an external camera from AR glasses. I can get camera image from external camera and FusionProviderType will be VISION_ONLY, but VuforiaBehaviour.Instance.transform.eulerAngles and VuforiaBehaviour.Instance.transform.position nerver changed.

Then I tried to use webcam on windows(UWP), and FusionProviderType is VISION_ONLY. VuforiaBehaviour.Instance.transform.eulerAngles and VuforiaBehaviour.Instance.transform.position still nerver changed. How to get device post in VISION_ONLY mode?

Hello,

Have you reviewed our File Driver sample? Per the following library article, this sample "... demonstrates how to access image and pose data from external systems."

External camera calibration for smart glasses

Hello,

I'm developing AR application for Epson BT-35E smart glasses. I wrote external camera driver and can find image coordinates on top of video stream. Now I need to find target coordinates in see-through mode and place a marker on object in real world. As I understand I need to go through camera calibration procedure and use the result of this procedure in external camera driver.

I checked this article https://library.vuforia.com/platform-support/external-camera-calibration and I have a question - Is this article suitable for smart glasses? As far as I understand, to project some point in real world, I need to specify some sort of angle between the camera and user eyes. But in the article we just taking a photos and we don't get any information about camera position relative to user eyes. May be I need another kind of calibration for glasses? Could you help me with some advice?

Also could you give me some example of calibration tool, which works on Android platform and which results are suitable for Vuforia?

Hey there,

 

Sorry for the delay in response. Does the Epson device have 6DOF? Or only 3DOF?

 

Kind regards,

Patrick Scheper

Technical Community Manager

Real Time Occlusion in Vuforia

Hello I was wondering if there was any solution for implementing real time occlusion of people and objects moving between the camera and the AR elements in Vuforia?

I know that AR foundation implemented an AR Occlusion Manager component that has to be attached to the camera. But that only applies to the camera created by AR Foundation.

Is there something similar that exists for the Vuforia AR camera? I couldn't find anything about that in the Vuforia documentation nor in the forums.

Thanks for your help,

Arnaud

App crashing when using ARFoundation and Vuforia

Hello,

 

I've been trying to use Vuforia and ARFoundation in an android project. Basically I'm only using Vuforia for image targets and ARFoundation for everything else. I followed this guide to set everything up: https://library.vuforia.com/unity-extension/vuforia-engine-and-ar-foundation. Although the app crashes immediately when it recognizes the image target, I'm not able to figure out why. There is nothing logged in ADB as well. 

I'm using Unity 2020.3.20f1, ARFoundation 4.1.10, ARCore 4.1.10, and Vuforia Engine AR 10.6.3.

 

Any help in this regard is appreciated!

 

Best regards,

Vuforia Area Target Creator App - No Prefab

Hello, I'm using Vuforia  Engine 10.3 in Unity 2021.2.3f1 to process the Area Target I made with the Vuforia Creator App using an Ipad Pro Lidar.

All seemed to go well, I followed the instructions from the Vuforia website but when I select my area target in Unity it loads it but says that the Preview Prefab is not available.

Here is the detailed error:

"DllNotFoundException: VuforiaEngine.dll assembly:<unknown assembly> type:<unknown type> member:(null) Vuforia.Internal.Utility.GLTFLoading.GLTFExtractorUtility.Initialize (System.String path, UnityEngine.Material sourceMaterial, System.Boolean ignoreMaterials) (at <322f9cfa037e43d487f9bdce5f865d45>:0) Vuforia.EditorClasses.GLTFAssetCreator.Initialize (System.String filePath, System.Boolean ignoreMaterials) (at <0213e6f0fa134fa89db6bafa02899715>:0) Vuforia.EditorClasses.ExtractorUtilities.ExportAndSaveMeshAndTextureData (System.String rootFolder, System.Collections.Generic.List`1[T] glTFFiles, System.String prefabFileName) (at <0213e6f0fa134fa89db6bafa02899715>:0) UnityEngine.Debug:LogException(Exception) Vuforia.EditorClasses.ExtractorUtilit"

I'm attaching the zip of my area target scan if anybody can confirm you get the same behavior on yourr end.

Thanks,

Arnaud

 

I went to check the release notes and found this in the known issues:

"The GLB meshes generated by the Vuforia Area Target Creator app might not be compatible with all applications or libraries working with GLB files."

Hey Arnaud,

 

The known GLB mesh issue seems not related to your Unity issue. I tested your area target and it seems to work fine for me.

Can you try to create a new Unity project, add Vuforia Engine, and see if the issue persists? 

 

Hello Patrick, thanks for your prompt answer. I did try more than 10 times so far creating new projects and always had the no prefab error message. I also tried with other area targets. What unity version are you using?

Here's the full error message I'm getting:

Hey there,

 

I'm still using Unity Engine 2020.3.22f1 and seems that Unity 2020.3.24f1 also doesn't provide the error.

You could check with those versions and see if it solves the error?

I'm sorry you're experiencing the issue.

 

Hey Patrick, so I gave it a try with Unity 2020.3.24f1 and I was able to see the cloud point prefab of the scanned location.

Clearly there seems to be an issue related to Unity 2021 and Vuforia Engine 10.3

Session Recorder

After getting the output from the session recorder, is there anyway to flip the recording and play it backwards?  It would be nice if we could scrub through the video and jump to a specific time in the video.

If I look at the FileDriverRecording.xml would extracting the children of each Element and repopulating those elements in reverse allow for the video to play backwards?

Thanks!

Hey there,

 

Sadly, that's not possible. But I like the idea to be able to scrub through a recording during play mode, especially when your recordings are long. 

I suggest in the future to create segments of recordings, instead of long recordings.