Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

NFT Marker doesn't track in Android

未关闭
#86 1 条评论 0 个 reaction 已指派 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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

artoolkitx/arunityx 的其他 Issue

查看 artoolkitx/arunityx 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。