当前位置:网站首页>An error occurs when the addressable assets system project is packaged. Runtimedata is null

An error occurs when the addressable assets system project is packaged. Runtimedata is null

2022-04-23 20:34:00 One Mr rabbit one

Real machine operation Addressable load resources ,SRDebbger see log Prompt error runtimedata is null. please ensure you have built the correct player content

terms of settlement :
Add the following code when the resource is first used , For example, using Addressables.InitializeAsync() Before initialization ;

#if !UNITY_EDITOR
        PlayerPrefs.DeleteKey(Addressables.kAddressablesRuntimeDataPath);
#endif

版权声明
本文为[One Mr rabbit one]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210548406345.html