TexTools / FFXIV_TexTools_UI

GNU General Public License v3.0
371 stars 65 forks source link

Unable to pull up a 3d model on my textools #222

Open AkiraMato154 opened 1 year ago

AkiraMato154 commented 1 year ago

(I'm not sure if I was supposed to post this error I just thought that was what It was telling me to do but mainly the 3d models in textools are no longer showing up)

System.NullReferenceException: Object reference not set to an instance of an object. at HelixToolkit.Wpf.SharpDX.Model.Scene.ScreenSpacedNode.OnHitTest(HitTestContext context, Matrix totalModelMatrix, List1& hits) at HelixToolkit.Wpf.SharpDX.Model.Scene.ViewBoxNode.OnHitTest(HitTestContext context, Matrix totalModelMatrix, List1& hits) at HelixToolkit.Wpf.SharpDX.Model.Scene.SceneNode.HitTest(HitTestContext context, List`1& hits) at HelixToolkit.Wpf.SharpDX.Viewport3DX.ViewBoxHitTest(Point p, InputEventArgs originalInputEventArgs) at HelixToolkit.Wpf.SharpDX.Viewport3DX.MouseDownHitTest(Point pt, InputEventArgs originalInputEventArgs) at HelixToolkit.Wpf.SharpDX.Viewport3DX.OnPreviewMouseDown(MouseButtonEventArgs e) at System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at FFXIV_TexTools.App.Main() (I'm not sure if I was supposed to post this error I just thought that was what It was telling me to do)

Squall-Leonhart commented 1 year ago

Despite other reports of this issue occurring, there has been no cause identified in textools itself and it appears to be some form of Windows corruption.

crankygank commented 1 year ago

Has there been any updates to this issue by chance?

I have just reinstalled textools after reinstalling my OS and now textools is giving me this error.

Squall-Leonhart commented 1 year ago

theres been no updates for this issue because from our end everything is fine, the error is possibly occuring in Helix itself due to an issue with the state of the OS

Possible Solutions

crankygank commented 1 year ago

so after doing some messing around, i eventually took out one of my graphics cards (i have two in my pc as I run quite a few monitors). Taking out one of the graphics cards got the 3d models to show. The addition of the graphics card back in broke the 3d viewer.

Both cards are updated to the latest possible drivers. I have attempted to then dedicated one card to the program in every way possible and still run into the 3d issue running dual cards.

Dreambourne commented 8 months ago

Thank you Cranky gank I was having the same issue! I unplugged one of my monitors and viola my models loaded.