By chanfui
on Sat, 03/06/2021 - 17:18
Hi,
On multi area script, something is not working right,
I have multiple children objects under each AreaTarget objects, but when I run the game, some of the objects are not reassigned back to the corresponding Area Target object.
The MultiArea.cs script is from this tutorial: https://library.vuforia.com/develop-area-targets/combining-multiple-area-targets
I tried many methods on reaching all children but didn't work.
Please help. Thank you.
Best regards,
Felix
Hi,
Hi,
The issue I believe is that you have parented some area targets. In our example we have 1 Parent GameObject with all the area targets being children.
Could you please test them by
Hi,
Hi,
R&D confirmed there was a bug when handling multiple gameObject per target and the script/documentation has been updated. When building the scene, the Augmentations should be placed under the perspective area targets( e.g place 'Gifts' game object under 'Kitchen')
Hi @chanfui,
Hi @chanfui,
We updated the document again to address an issue with the runtimebehavior of the script in Simulation Mode.
Please refer to the updated library article: https://library.vuforia.com/develop-area-targets/combining-multiple-area-targets
Hi yes I've noticed that, and
Thank you. It works as intended.
Thanks again for your smart brain and response. Appreciate it.
I followed your updated
Hi @mcotora!
I followed your updated instructions but I get these messages (please see the images in attachment)
error CS0117: 'TrackableBehaviour' does not contain a definition for 'Status'
Can you please let me know if i did something wrong? How can I fix it?
I got this error because I
I got this error because I copied the wrong script. I have Vuforia Engine 10.1.4 and I was using instead the script for Vuforia Engine 9.8 (https://library.vuforia.com/develop-area-targets/combining-multiple-area-targets).