Is there any way to load the Vuforia dataset in Unity streaming assets folder on demand or separately to reduce the main apk size?

huangapple go评论60阅读模式
英文:

Is there any way to load the Vuforia dataset in Unity streaming assets folder on demand or separately to reduce the main apk size?

问题

我正在使用Unity开发AR应用,使用Vuforia的模型跟踪技术。我使用模型目标生成器生成了一个模型目标,将其导出并导入了Unity项目中的unity包文件。我将.dat文件导入了Unity Assets文件夹中的Streaming Assets文件夹。问题在于,由于这个文件,APK的大小大大增加了。由于Streaming Assets目录是只读的,是否有其他方法可以按需加载.dat文件?如果未来数据集大小增加,APK的大小可能会变得太大。Addressables和APK扩展文件方法都没有帮助。

英文:

I am developing an AR application in Unity using Vuforia's model tracking. So I generated a model target using the Model Target Generator, exported it and imported the unity package file in my Unity project. I imported the .dat file in the Streaming Assets folder in Unity Assets.
The problem is the apk size has increased a lot due to this file. As the streaming assets directory is read only, is there any other way to load the .dat file on demand? The apk size might become too big, if the dataset size are increased in future.

Addressables and apk expansion file method did not help.

答案1

得分: 2

这绝对是可能的,并且在Vuforia Engine的文库中有相关建议文档:https://library.vuforia.com/unity-extension/building-large-vuforia-engine-apps-unity/。

英文:

This is definitely possible and there are recommendations documented in the library of Vuforia Engine: https://library.vuforia.com/unity-extension/building-large-vuforia-engine-apps-unity/.

huangapple
  • 本文由 发表于 2023年2月16日 16:59:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/75469868.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定