Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

NFT Marker doesn't track in Android

オープン
#86 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@philip-lamb がすでに取り組んでいます。

2023年8月4日 から。

評価

この issue はまだ評価されていません。

説明

bug P2

Hi Phil et al! As you know I've been trying to get my NFT project updated to ARX from AR5. I was able to get it to work on iOS and in fact the newest build package works for me on iOS as is, but I still can't get the Android build to track the gibraltar.jpg.

I realize that you have renamed the NFT scene to "LegacyNFTMarkerScene" which seems to indicate that you are dropping support for NFT tracking, but I'm praying there is still hope to get this legacy scene to work on Android one last time.

So when I follow the quickstart and build the entire 1.1.11 package as is, using "build.sh ios android macos" , then import the package into Unity, it runs native on my mac and works on iOS. When I build and run on Android it does load the gibraltar marker without crashing, but then when I show it the image, the tracking cube doesn't show up.

Looking into the logs I find that it does "see" the marker, because I get messages like: "[info] Page[0] pre: 14, aft: 14, error = 0.593861" indicating that the marker is found, but then it never triggers Unity to show the cube.

I've taken a deep dive into the code, adding logging messages, and I can see that ar2Tracking always returns either error -3 or -4. When I compare the Android output to the working iOS output there seems to be a discrepancy in the surfaceSet matrices.

I assume this is again some sort of libjpeg issue, but I have tried everything I can think of so far, and I'm hoping that someone with deeper knowledge of the codebase will be able to just be able to say AHA! and flip a switch or option and magically make it work on Android again.

Very appreciative of any help or tips you can possibly offer, and let me know if you need more info. Thanks!

主要言語
C#
スター
48
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

artoolkitx/arunityx のほかの issue

artoolkitx/arunityx の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。