Failed to load asset ! The location is invalid : Test.mp3 UnityEngine.Debug:LogError (object) YooAsset.YooLogger:Error (string) (at Assets/CosmosFramework/3rdParty/YooAsset/Runtime/Utility/YooLogger.cs:62) YooAsset.AssetSystemImpl:LoadAssetAsync (YooAsset.AssetInfo) (at Assets/CosmosFramework/3rdParty/YooAsset/Runtime/AssetSystem/AssetSystem.cs:214) YooAsset.ResourcePackage:LoadAssetInternal (YooAsset.AssetInfo,bool) (at Assets/CosmosFramework/3rdParty/YooAsset/Runtime/PackageSystem/ResourcePackage.cs:556) YooAsset.ResourcePackage:LoadAssetAsync<UnityEngine.AudioClip> (string) (at Assets/CosmosFramework/3rdParty/YooAsset/Runtime/PackageSystem/ResourcePackage.cs:529) OpenPackage.OpenManager:StartAudio (string) OpenPackage.OpenManager:ShowMessage (OpenPackage.ShowType,string) OpenPackage.ClickTest:OnMouseUp () UnityEngine.SendMouseEvents:DoSendMouseEvents (int)
时间: 2024-01-30 11:02:39 浏览: 601
Hello.Flex.4
4星 · 用户满意度95%
根据错误提示,似乎是在加载名为 Test.mp3 的音频文件时发生了问题。具体来说,错误可能是由于文件路径无效或文件不存在而导致的。您可以检查一下文件路径是否正确,并确保文件存在于该路径下。另外,您也可以尝试使用其他方式加载音频文件,例如使用 Unity 内置的资源加载功能。如果问题仍然存在,请提供更多信息,以便我能够更准确地帮助您。
阅读全文