1

我目前使用 Unity 2020.3.5f1,可寻址版本 1.19.17

这就是我设置我的项目的方式:

在项目 A 中构建我的可寻址对象,并将它们下载并加载到项目 B 中。当我为 Android 构建应用程序时,如果我取消选中项目 B 中的导出项目,一切都会加载并正常工作。但是,如果在项目设置中选中了导出项目,则会出现以下错误并且场景无法加载

RemoteProviderException : TextDataProvider : unable to load from url : jar:file:///data/app/com.xxxxxxxxxxxxx==/base.apk!/assets/aa/settings.json

RuntimeData is null. Please ensure you have built the correct Player Content.
UnityEngine.ResourceManagement.AsyncOperations.InitalizationObjectsOperation:Execute()

Unable to load runtime data at location UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[[UnityEngine.AddressableAssets.Initialization.ResourceManagerRuntimeData, Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].

UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=, Type=System.Object

任何帮助或见解将不胜感激!感谢您的时间

4

0 回答 0