Describe the bug
In unity importing the latest version by using nuget unity it throws a nuget error
Error
ArgumentException: Invalid NuGet version: TorchSharp.0.105.1. Please check: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning
TorchSharp.torch.NormalizeNuGetVersion (System.String versionString) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.LoadNativeBackend (System.Boolean useCudaBackend, System.Text.StringBuilder& trace) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDeviceType (TorchSharp.DeviceType deviceType) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDevice (TorchSharp.torch+Device device) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch..cctor () (at <1364d80b19784a0cac9452716712fa22>:0)
Rethrow as TypeInitializationException: The type initializer for 'TorchSharp.torch' threw an exception.
TorchSharp.torch+cuda.is_available () (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharpOnGuiDemo.Start () (at Assets/_project/01 Demo/Scripts/TorchSharpOnGuiDemo.cs:20)
As you import the TorchSharp-cpu or cuda you it fails to load something related to SkiaSharp
However by disabling the dll load of SkiaSharp it starts and throw the error above
Describe the bug
In unity importing the latest version by using nuget unity it throws a nuget error
Error
ArgumentException: Invalid NuGet version: TorchSharp.0.105.1. Please check: https://learn.microsoft.com/en-us/nuget/concepts/package-versioning
TorchSharp.torch.NormalizeNuGetVersion (System.String versionString) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.LoadNativeBackend (System.Boolean useCudaBackend, System.Text.StringBuilder& trace) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDeviceType (TorchSharp.DeviceType deviceType) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch.InitializeDevice (TorchSharp.torch+Device device) (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharp.torch..cctor () (at <1364d80b19784a0cac9452716712fa22>:0)
Rethrow as TypeInitializationException: The type initializer for 'TorchSharp.torch' threw an exception.
TorchSharp.torch+cuda.is_available () (at <1364d80b19784a0cac9452716712fa22>:0)
TorchSharpOnGuiDemo.Start () (at Assets/_project/01 Demo/Scripts/TorchSharpOnGuiDemo.cs:20)
As you import the TorchSharp-cpu or cuda you it fails to load something related to SkiaSharp
However by disabling the dll load of SkiaSharp it starts and throw the error above