Dalamud-VFXEditor icon indicating copy to clipboard operation
Dalamud-VFXEditor copied to clipboard

Game crash when extracting texture from VFX

Open Kurochi51 opened this issue 2 years ago • 0 comments

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: ffxiv_dx11_2023-06-19_14-04-27

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()

Kurochi51 avatar Jun 19 '23 11:06 Kurochi51