英文:
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/.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论