Any discussions related to Vuforia Engine development with Unity.

How to fix the black screen issue with ARCore / Android

January 21, 2022 - 4:00am #1

The black screen issue you're encountering might be related to Google removing ARCore support for 32-bit apps on 64-bit devices. This might causes devices to show a black screen because of the removed support from Google:

To solve this issue you must build for 64-bit devices. To do so you have to change the following settings:

Topic locked

Unity 2020.3.21f, 2020.3.22f1, and 2020.3.23f1 cause target tracking offsets on the Hololens 2

December 9, 2021 - 5:19am #1

Hey everyone,

 

There's a known issue reported by Microsoft and Unity where the following Unity versions cause flashing and strobing effects on the Hololens 2:

Topic locked

Fail to create Model Target by script

Unity Editor
August 8, 2022 - 9:03am #1

Unity Version: 2021.3

Vuforia Version: 10.7.2

 

I import the model target into unity which created by MTG. And then add ARCamera game object to the scene. Attch a script to ARCamra.But run with error.

But I success with the default model target `VuforiaMars_ModelTarget`

Is there something wrong with model target which created by MTG?

 

PS: I upload the model target 

 

There is the script:

Log in or register to post comments

ModelTraget as prefab works weird in IOS

Unity Editor
August 6, 2022 - 7:43pm #1

Platform version: unity 2020.3.19f1c2, 2021.3.6f1c1

Vuforia Engine version: 10.7.2, 10.8.4

Device information: ios13,ios14

 

I follow the guide in https://library.vuforia.com/model-targets/introduction-model-targets-unity using default database.

 

But I make the ModelTarget as prefab.Use script to load it at runtime.

 

It work well in Editor.But it look weird in IOS.

 

IOS:

When app start up, it looks like weird.png .

Log in or register to post comments

ModelTarget as a prefab work weird in IOS

Apple XCode
August 2, 2022 - 3:41am #1

I am new to vuforia and unity.

I make a ModelTarget as a prefab. use `Resource.Load()` and add it to the scene.

In editor, It works very well !

But, I build and run on the ios via Unity .  ARCamera looks weird  after I load the ModelTarget and add it to the scene like two.jpeg

Once ARCamera tracked the target , it resumes like one.png

 

After I make some tests. When `ModelTargetBehaviour`  script enable which make it like two.jpeg.

 

How can I solve this  problem???

Log in or register to post comments

Make specific description appear for specific marker

Unity Editor
July 19, 2022 - 10:20pm #1

I've got these errors and I've been playing around trying to find the mistakes but I'm still not sure what is wrong. I am trying to make description text appear after scanning the marker.

 

Log in or register to post comments

Vuforia and App freezing, model parts disappearing and then app crashes.

Unity Editor
July 18, 2022 - 8:56am #1

The title explains most of what I'm dealing with. I'm running my app on an Android phone having installed from unity. Sometimes, after scanning an image tracker and the relevant model spawns, vuforia and the app freeze, all UI elements disappear, and then parts of the model start to disappear before the app crashes completely. This doesn't happen every time I use the app but enough that it will be a problem on launch. I'm using extended tracking so the user can move around the model after they scan the tracker.

Log in or register to post comments

Outdoor use

July 11, 2022 - 3:04am #1

Hello, I am developing an app in unity for outdoor use. The problem I have is the orientation of the AR camera. If we have as a reference a map of any city in the world and I calibrate the orientation of the camera correctly initially, when I start to move it seems to work fine, but after a while the orientation starts to fail and the camera drifts, causing the location on the map is not correct. Then I recalibrate the AR camera using the Reset and RecenterPose methods, again giving the orientation I want. Would this use of AR be correct for outdoors?

Log in or register to post comments

Vuforia only works when building APK not when patching.

Unity Editor
July 10, 2022 - 5:45am #1

Hello,

I discovered a weird behaviour of Vuforia (9.8.13) in Unity.

In the Build Settings on Android Platform there is an Option to "Build to Device" (Green on Image) Patch an existing app on a mobile device. This speeds up testing incredibly. But when using this method Vuforia Image Tracking is not working anymore.

When building a normal .apk file (Red on Image), copying that to a device and then installing the image tracking works. If this version gets patched through the Unity Editor is does not work anymore.

Specs:

Log in or register to post comments

Memory leak on HoloLens 2 when tracking is lost

Unity Editor
July 8, 2022 - 8:47am #1
Topic solved

This issue happened in my main project using Vuforia 10.4.4, but I reproduced it in the HoloLens 2 example application on Vuforia 10.8.4. Tested in a release build deployed over USB. I'm using Unity 2020.3.30f1.

When the Hololens loses tracking, the System Used Memory (as visible in the Profiler after clicking the Memory panel) starts going up, roughly 50MB a second. If it remains in this state long enough, the application hard-crashes. 

However, if it recovers tracking before the crash, then the memory will quickly return to what it was before it lost tracking. 

Log in or register to post comments