Android - Unity as a Library -- Native libraries not loaded
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 24/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- android, unity
- 领域
- mobile-dev
调研方向
The report points to the Android Unity as a Library demo and differences in exported AAR files, unity-classes.jar, and script nesting, but names no source files or tests. Start by comparing the demo and the reporter’s project exports and checking how the native libraries are loaded before sendMessage() is called. Done means identifying why the libraries are not loaded and confirming that messages are delivered.
由索引模型根据 Issue 内容生成。
描述
I have been searching for days, I used the exact same implementation guide as in the demo, which worked fine for the demo but when using it on my unity project I keep getting this error when I try and use mUnityPlayer.sendMessage() :
W/Unity: Native libraries not loaded - dropping message for #######.#########
I've looked through the the two projects to find a difference and the only one I see is that in the libs folder when they are exported unity exports multiple .aar folders in our project along with the unity-classes.jar file and just the unity-classes.jar file for the demo. The other difference is our project has these scripts nested instead of just on the top level folder.
I have tried multiple editor versions and that doesn't work either.
Do I need to change the implementation somehow to load the native libraries? Or is this a known bug.
- 主要语言
- Objective-C++
- 星标
- 815
- 派生
- 252
- 平均合并
- 21 小时 42 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Unity-Technologies/uaal-example 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
Unity-Technologies/uaal-example#123 · 4 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Unity-Technologies/uaal-example#122 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
Unity-Technologies/uaal-example#120 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 28/100
Unity-Technologies/uaal-example#118 · 4 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 25/100
Unity-Technologies/uaal-example#116 · 1 条评论 ·
查看 Unity-Technologies/uaal-example 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
gluestack/gluestack-ui#3469 ·
-
[Bug]: AppiumDriver.PlatformName fails with Appium 4可能已有人在做 @Dor-bl 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
appium/dotnet-client#1177 · 1 个 reaction ·
维护者通常 2 天内回复
-
area:focus area:ui cluster:focus-remote effort:s platform:android-tv platform:fire-tv priority:critical type:bug
难度 2/5 1-3 小时 新手友好度 78/100
fatihmutluu/elv-iptv#425 ·
维护者通常 1 天内回复
-
proposal
难度 1/5 1 小时以内 新手友好度 82/100
beemdevelopment/Aegis#1861 ·
-
难度 2/5 1-3 小时 新手友好度 72/100