Addressable Assets System project package reported an error runtimedata is null.

The real machine runs Addressable to load resources, and SRDebbger checks the log and prompts an error runtimedata is null. Please ensure you have built the correct player content

Solution:
Add the following code when the resource is used for the first time, for example, Addressables.InitializeAsync()before initialization;

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

Guess you like

Origin blog.csdn.net/weixin_44054505/article/details/116146260