Dalamud-VFXEditor
Dalamud-VFXEditor copied to clipboard
Game crash when extracting texture from VFX
Similar to #135
This time around I wanted to export a different texture as DDS, I clicked on a file that I wanted it to replace, and it crashes as soon as I clicked on that file. Errors and logs:
2023-06-19 14:03:35.052 +03:00 [FTL] Unhandled exception on AppDomain
System.ArgumentOutOfRangeException: Positive number required. (Parameter 'bytesAllocated')
at System.GC.AddMemoryPressure(Int64 bytesAllocated)
at TeximpNet.DDS.DDSFile.Read(Stream input, DDSFlags flags)
at TeximpNet.DDS.DDSFile.Read(String fileName, DDSFlags flags)
at ImGuiFileDialog.FileDialog.<>c__DisplayClass67_0.<LoadTexturePreview>b__0() in /work/repo/VFXEditor/ImGuiFileDialog/FileDialog.Dialog.cs:line 484
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at ImGuiFileDialog.FileDialog.LoadTexturePreview(FileStruct file) in /work/repo/VFXEditor/ImGuiFileDialog/FileDialog.Dialog.cs:line 478
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
2023-06-19 14:03:35.398 +03:00 [FTL] Unhandled exception on AppDomain
System.ArgumentOutOfRangeException: Positive number required. (Parameter 'bytesAllocated')
at System.GC.RemoveMemoryPressure(Int64 bytesAllocated)
at TeximpNet.DDS.MipData.Finalize()