I got this error when I try to load sentis model, which is downloaded from hugging face, the musicGen example( unity/sentis-MusicGen · Hugging Face:
my sentis version is 2.0.0
Invalid model: , msg: System.ArgumentException: Path is empty
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00027] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at System.IO.File.Open (System.String path, System.IO.FileMode mode) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0
at Unity.Sentis.ModelLoader.Load (System.String path) [0x00001] in .\Library\PackageCache\com.unity.sentis@2.0.0\Runtime\Core\Serialization\ModelLoader.cs:44
at MuseSentisNodeView.<Enable>b__3_0 (UnityEngine.UIElements.ChangeEvent`1[T] v) [0x0001f] in .\Packages\UnitySDGraph\Editor\Views\MuseViews\MuseSentisNodeView.cs:48
UnityEngine.Debug:LogError (object)
MuseSentisNodeView:<Enable>b__3_0 (UnityEngine.UIElements.ChangeEvent`1<UnityEngine.Object>) (at ./Packages/UnitySDGraph/Editor/Views/MuseViews/MuseSentisNodeView.cs:55)
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()
Failed to load serialized Sentis model, ensure model was exported with Sentis 1.4 or newer. (Specified argument was out of the range of valid values.)
UnityEngine.Debug:LogError (object)
Unity.Sentis.D:LogError (object) (at ./Library/PackageCache/com.unity.sentis@2.0.0/Runtime/Core/Internals/Debug.cs:131)
Unity.Sentis.ModelLoader:Load (System.IO.Stream) (at ./Library/PackageCache/com.unity.sentis@2.0.0/Runtime/Core/Serialization/ModelLoader.cs:82)
Unity.Sentis.ModelLoader:Load (string) (at ./Library/PackageCache/com.unity.sentis@2.0.0/Runtime/Core/Serialization/ModelLoader.cs:45)
MuseSentisNodeView:<Enable>b__3_0 (UnityEngine.UIElements.ChangeEvent`1<UnityEngine.Object>) (at ./Packages/UnitySDGraph/Editor/Views/MuseViews/MuseSentisNodeView.cs:48)
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()