真机运行Addressable加载资源,SRDebbger查看log提示报错runtimedata is null. please ensure you have built the correct player content
解决办法:
资源首次使用时添加以下代码,例如使用Addressables.InitializeAsync()
初始化前;
#if !UNITY_EDITOR
PlayerPrefs.DeleteKey(Addressables.kAddressablesRuntimeDataPath);
#endif