nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.21k stars 152 forks source link

Save then crashed #321

Closed 1010011010-J closed 7 months ago

1010011010-J commented 8 months ago

when i open .assets file and click a texture2d file -> plugins --> edit texture --> save ,uabea crashed >.< Here's the log System.NullReferenceException: Object reference not set to an instance of an object. at AssetsTools.NET.AssetTypeValueField.set_AsInt(Int32 value) at TexturePlugin.EditDialog.BtnSave_Click(Object sender, RoutedEventArgs e) at System.Threading.Tasks.Task.<>c.b__1280(Object state) at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 38 at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 298 at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg) at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 215 at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in //src/Avalonia.Base/Threading/Dispatcher.cs:line 61 at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 122 at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 214 at UABEAvalonia.Program.Main(String[] args) in D:\a\UABEA\UABEA\UABEAvalonia\Program.cs:line 53

nesrak1 commented 7 months ago

Install the C++ redistributables which is linked on the releases page

1010011010-J commented 7 months ago

thanks :3