mirror of https://github.com/tuyoogame/YooAsset
Update YooAssets.cs
parent
53b53eb0a0
commit
e77dfb5ca3
|
@ -522,8 +522,9 @@ namespace YooAsset
|
|||
return operation;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
BundleInfo bundleInfo = _bundleServices.GetBundleInfo(assetInfo);
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (bundleInfo.Bundle.IsRawFile == false)
|
||||
{
|
||||
string error = $"Cannot load asset bundle file using {nameof(GetRawFileAsync)} method !";
|
||||
|
|
Loading…
Reference in New Issue