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

Loading a phyb file in VFXEdit on XiV on Mac causes a crash

Open littleclay opened this issue 8 months ago • 0 comments

Whenever I try to load a phyb file it causes the game to crash. This has happened both when trying to load a local file as well as just a standard game resource.

XiV on Mac version: 5.0.2 VFXEditor version: 1.9.1.5

Dalamud.log error:

2025-03-07 17:57:58.178 -05:00 [ERR] [WindowSystem] Error during Draw(): Phyb Editor###Phyb Editor
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at SharpDX.Direct3D11.OutputMergerStage.GetRenderTargets(Int32 numViews, RenderTargetView[] renderTargetViewsOut, DepthStencilView& depthStencilViewOut)
   at VfxEditor.DirectX.Renderer.BeforeDraw(RasterizerState& oldState, RenderTargetView[]& oldRenderViews, DepthStencilView& oldDepthStencilView, DepthStencilState& oldDepthStencilState) in /work/repo/VFXEditor/DirectX/Renderer.cs:line 22
   at VfxEditor.DirectX.Renderers.ModelRenderer.Draw() in /work/repo/VFXEditor/DirectX/Renderers/ModelRenderer.cs:line 230
   at VfxEditor.DirectX.BoneNamePreview.LoadWireframe(MeshGeometry3D collision, MeshGeometry3D simulation, MeshGeometry3D spring) in /work/repo/VFXEditor/DirectX/Bone/BoneNamePreview.cs:line 58
   at VfxEditor.PhybFormat.Skeleton.PhybSkeletonView.UpdateData() in /work/repo/VFXEditor/Formats/PhybFormat/Skeleton/PhybSkeletonView.cs:line 28
   at VfxEditor.Interop.Havok.Ui.SkeletonSelector.Init() in /work/repo/VFXEditor/Interop/Havok/Ui/SkeletonSelector.cs:line 27
   at VfxEditor.Interop.Havok.Ui.SkeletonSelector.Draw() in /work/repo/VFXEditor/Interop/Havok/Ui/SkeletonSelector.cs:line 32
   at VfxEditor.Interop.Havok.Ui.SkeletonView.Draw() in /work/repo/VFXEditor/Interop/Havok/Ui/SkeletonView.cs:line 35
   at VfxEditor.PhybFormat.PhybFile.Draw() in /work/repo/VFXEditor/Formats/PhybFormat/PhybFile.cs:line 145
   at VfxEditor.FileManager.FileManagerDocument`2.DrawBody() in /work/repo/VFXEditor/FileManager/FileManagerDocument.cs:line 446
   at VfxEditor.FileManager.FileManagerDocument`2.Draw() in /work/repo/VFXEditor/FileManager/FileManagerDocument.cs:line 248
   at VfxEditor.FileManager.FileManager`3.DrawBody() in /work/repo/VFXEditor/FileManager/FileManager.Ui.cs:line 38
   at Dalamud.Interface.Windowing.Window.DrawInternal(WindowDrawFlags internalDrawFlags, WindowSystemPersistence persistence) in /_/Dalamud/Interface/Windowing/Window.cs:line 397

littleclay avatar Mar 07 '25 23:03 littleclay