New answers tagged

0

Check your Unity install configuration, I see the option with this configuration: Unity 2019.4.3f1 (LTS) The Android and iOS modules installed (at Unity install time, or later via Unity Hub's "Add Modules") AR Foundation, ARCore XR plugin, ARKit XR plugin via package manager The following options appears when right clicking inside the Hierarchy ...


2

You're not checking every marker's ID, you're only checking the ID of the first marker in the list. And you're re-checking that one marker when deciding whether to draw every marker. Replace if (ids.at(0) == 45) { with if (ids.at(i) == 45) { to actually check whether this marker's ID is 45, before drawing it. This is a very simple bit of programming that ...


Top 50 recent answers are included