Log in or register to post comments

[Unity] Area Target doesn't work in actual room, but works when I point my phone to a browser window

July 28, 2020 - 5:57am #1

I am using Unity 2019.2.21f1, Vuforia version 9.2.8

I create a simple project, just one area target (a museum room created via Area Target Generator) and a model of bear inside it. The apk builds without any problems.

When it is tested inside an actual room nothing happens, the model doesn't appear probably because the surroundings are not being recognized.

However when I open a 3d model in my browser on matterport.com it does work, although with an issue.

When I don't check the 'simulate occlusion' box, it works fine: 

 

When I check the boxm the view is ridden with artifacts, but the model still appears: 

 

(working) Testing phone model: Xiaomi Redmi Note 8T

(not working) Live testing phone model: Samsung S20

Area target 1 source: https://my.matterport.com/show/?m=hrn8AkwgbXf

Area target 2 source: https://my.matterport.com/show/?m=EzjbJKBFX7q



Any suggestions on how this can be debugged?

AttachmentSize
Image icon vu_no_occlusion.png1.21 MB
Image icon vu_simulated_occlusion.png1.46 MB

[Unity] Area Target doesn't work in actual room, but works when I point my phone to a browser window

August 7, 2020 - 2:02am #4

Hi @mcotora

I apologize. Turns out the ARCore was disabled on the phone that was used on the on-site testing.

Apparently everything works fine and there are no problems with artifacts with occlusion simulation turned on.

Thanks.

[Unity] Area Target doesn't work in actual room, but works when I point my phone to a browser window

August 5, 2020 - 3:43am #3

Hi @elkranio,

I wouldn't encourage the testing with images as you mention as it will show some strange results. The issue with occlusion I believe to be from a combination of devicetracker and Area target not exactly finding the correct location as you are showing a picture. The system based on the picture would expect for you to be in a place but you are not, as it has conflicting information  it will render in this case artefacts!?

Could you please test the datasets in the Area Targets test app and let me know if the surrounding is recognized?

Thank you.

Vuforia Engine Support

[Unity] Area Target doesn't work in actual room, but works when I point my phone to a browser window

August 4, 2020 - 6:59am #2

I ran into a similar problem. I cant get my mobile phone (Pixel 3) to detect the actual room and have it display the navmesh agent in the real world. It seems like it isnt mapping the area target to the real world coordinate. Posted about it a while ago, but got no answer. Maybe we can help each other out. I have my own area target and can test around. 

Log in or register to post comments