Unable to open archive file: D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa/StandaloneWindows64/defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle RemoteProviderException : Invalid path in AssetBundleProvider: 'D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa\StandaloneWindows64\defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle'. OperationException : GroupOperation failed because one of its dependencies failed RemoteProviderException : Invalid path in AssetBundleProvider: 'D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa\StandaloneWindows64\defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle'. System.Exception: Dependency Exception ---> UnityEngine.ResourceManagement.Exceptions.OperationException: GroupOperation failed because one of its dependencies failed ---> UnityEngine.ResourceManagement.Exceptions.RemoteProviderException: RemoteProviderException : Invalid path in AssetBundleProvider: 'D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa\StandaloneWindows64\defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle'.
--- End of inner exception stack trace --- --- End of inner exception stack trace --- Failed to read data for the AssetBundle 'aa\StandaloneWindows64\defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle'. OperationException : ChainOperation failed because dependent operation failed System.Exception: Dependency Exception ---> UnityEngine.ResourceManagement.Exceptions.OperationException: GroupOperation failed because one of its dependencies failed ---> UnityEngine.ResourceManagement.Exceptions.RemoteProviderException: RemoteProviderException : Invalid path in AssetBundleProvider: 'D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa\StandaloneWindows64\defaultlocalgroup_assets_all_57c55f293171dd03a4c62f3e626f64b9.bundle'.
--- End of inner exception stack trace --- --- End of inner exception stack trace ---
Unable to open archive file: D:/UnityProject/XLuaProject/Build/XLuaProject_Data/StreamingAssets/aa/StandaloneWindows64/defaultlocalgroup_assets_assets/game/art/sprites_0d30367a8dddecfef828636864c4bae5.bundle
此时如果在Use Existing Build模式下将无法启动unity,且会报错。因为并没有构建Addressables资产,先Build -> New Build -> Default build Script一份吧。
1
Player content must be built before entering play mode with packed data. This can be done from the Addressables window in the Build->Build Player Content menu command.
RemoteProviderException : Unable to load asset bundle from : https://www.coffeeofnosugar.top/addressable/c15f93f7cc4db145f53ace35f7416bfa.bundle UnityWebRequest result : ProtocolError : HTTP/1.1404 Not Found ResponseCode : 404, Method : GET url : https://www.coffeeofnosugar.top/addressable/c15f93f7cc4db145f53ace35f7416bfa.bundle
// 荷兰国旗 staticvoidPartition(int[] arr, int target) { int left = -1, right = arr.Length; int i = 0; while (i < right) { if (arr[i] < target) Swap(arr, ++left, i++); elseif (arr[i] > target) Swap(arr, i, --right); else i++; } }