Skip to content

Kitbasher Error #293

@Kev092

Description

@Kev092

Hey, you kinda asked to share the mistake if it is unexpected, so here I am....
Sorry, but still a novice in these things, so just sharing everything through the clipboard. Was trying to add Sigvald's head to a different body and clicked on a Yellow-skeleton tool, following this guide and got the following error:
{
"ActivePackFiles": [
{
"IsMainEditable": false,
"IsCa": true,
"Name": "All Game Packs - Warhammer II",
"SystemPath": "D:\Games\Total War - Warhammer II\data"
},
{
"IsMainEditable": true,
"IsCa": false,
"Name": "CustomLordForMyDyn",
"SystemPath": "D:\MyMod\JadeWiz\u002Bwaystalker head\CustomLordForMyDyn.pack"
}
],
"CurrentGame": 10,
"Settings": {
"RecentPackFilePaths": [
"D:\MyMod\JadeWiz\u002Bwaystalker head\CustomLordForMyDyn.pack"
],
"Theme": 0,
"RenderEngineBackgroundColour": 0,
"StartMaximised": false,
"GameDirectories": [
{
"Game": 1,
"Path": null
},
{
"Game": 13,
"Path": null
},
{
"Game": 5,
"Path": null
},
{
"Game": 7,
"Path": null
},
{
"Game": 12,
"Path": null
},
{
"Game": 9,
"Path": null
},
{
"Game": 10,
"Path": "D:\Games\Total War - Warhammer II\data"
},
{
"Game": 11,
"Path": null
}
],
"CurrentGame": 10,
"LoadCaPacksByDefault": true,
"ShowCAWemFiles": false,
"IsFirstTimeStartingApplication": false,
"IsDeveloperRun": false,
"WwisePath": null,
"OnlyLoadLod0ForReferenceMeshes": true
},
"NumberOfOpenEditors": 1,
"NumberOfOpenedEditors": 4,
"RunTimeInSeconds": 898.5942004,
"AssetEditorVersion": "0.63",
"ExceptionInfo": [
{
"Message": "Object reference not set to an instance of an object.",
"StackTrace": [
" at Shared.Ui.Editors.BoneMapping.AnimatedBoneHelper.CreateFromSkeleton(AnimationFile file, List\u00601 boneIndexUsedByModel) in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Shared\Editors.Shared.Core\Editors\BoneMapping\AnimatedBoneHelper.cs:line 37\r",
" at Editors.KitbasherEditor.ChildEditors.MeshFitter.OpenSkeletonReshaperToolCommand.Execute() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\ChildEditors\MeshFitter\OpenSkeletonReshaperToolCommand.cs:line 82\r",
" at Editors.KitbasherEditor.Core.MenuBarViews.KitbasherMenuItem\u00601.TriggerInternal() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\Core\MenuBarViews\KitbasherMenuItem.cs:line 41\r",
" at Shared.Ui.Common.MenuSystem.MenuAction.TriggerAction() in C:\Users\ole_k\source\repos\TheAssetEditor\Shared\SharedUI\Common\MenuSystem\MenuAction.cs:line 20\r",
" at CommunityToolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)\r",
" at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)\r",
" at System.Windows.Controls.Button.OnClick()\r",
" at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r",
" at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r",
" at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r",
" at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r",
" at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r",
" at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r",
" at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r",
" at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r",
" at System.Windows.Input.InputManager.ProcessStagingArea()\r",
" at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r",
" at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r",
" at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r",
" at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r",
" at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"
]
}
],
"CurrentEditorName": "KitbasherViewModel",
"EditorInputFile": "hef_alarielle_body_01.rigid_model_v2",
"EditorInputFileFull": "variantmeshes\wh_variantmodels\hu1b\hef\hef_alarielle\hef_alarielle_body_01.rigid_model_v2",
"EditorInputFilePack": "All Game Packs - Warhammer II",
"LogHistory": [
"[18:48:56 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:48:57 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:48:57 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:48:58 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6784 \r\n",
"[18:48:58 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:49:11 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:49:15 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:49:31 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6784 \r\n",
"[18:49:31 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:50:08 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing ObjectSelectionCommand \r\n",
"[18:50:08 Information] [1] GameWorld.Core.Commands.Object.ObjectSelectionCommand::Execute : Command info - Remove[False] Mod[False] Items[chs_sigvald_head_01] \r\n",
"[18:50:08 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:50:10 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:50:10 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:50:11 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:50:39 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:50:42 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:50:47 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:50:58 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:51:13 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:51:23 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing TransformVertexCommand \r\n",
"[18:52:08 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:52:08 Fatal] [1] AssetEditor.App::DispatcherUnhandledExceptionHandler : System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Shared.Ui.Editors.BoneMapping.AnimatedBoneHelper.CreateFromSkeleton(AnimationFile file, List\u00601 boneIndexUsedByModel) in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Shared\Editors.Shared.Core\Editors\BoneMapping\AnimatedBoneHelper.cs:line 37\r\n at Editors.KitbasherEditor.ChildEditors.MeshFitter.OpenSkeletonReshaperToolCommand.Execute() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\ChildEditors\MeshFitter\OpenSkeletonReshaperToolCommand.cs:line 82\r\n at Editors.KitbasherEditor.Core.MenuBarViews.KitbasherMenuItem\u00601.TriggerInternal() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\Core\MenuBarViews\KitbasherMenuItem.cs:line 41\r\n at Shared.Ui.Common.MenuSystem.MenuAction.TriggerAction() in C:\Users\ole_k\source\repos\TheAssetEditor\Shared\SharedUI\Common\MenuSystem\MenuAction.cs:line 20\r\n at CommunityToolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)\r\n at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)\r\n at System.Windows.Controls.Button.OnClick()\r\n at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n at System.Windows.Input.InputManager.ProcessStagingArea()\r\n at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r\n at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) \r\n",
"[18:53:38 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing ObjectSelectionCommand \r\n",
"[18:53:38 Information] [1] GameWorld.Core.Commands.Object.ObjectSelectionCommand::Execute : Command info - Remove[False] Mod[False] Items[] \r\n",
"[18:54:13 Information] [1] GameWorld.Core.Services.CommandExecutor::ExecuteCommand : Executing ObjectSelectionCommand \r\n",
"[18:54:13 Information] [1] GameWorld.Core.Commands.Object.ObjectSelectionCommand::Execute : Command info - Remove[False] Mod[False] Items[chs_sigvald_head_01] \r\n",
"[18:54:13 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:54:27 Information] [1] Shared.GameFormats.Animation.AnimationFile::Create : Loading animation: Shared.Core.PackFiles.Models.PackFile Size:6060 \r\n",
"[18:54:27 Fatal] [1] AssetEditor.App::DispatcherUnhandledExceptionHandler : System.NullReferenceException: Object reference not set to an instance of an object.\r\n at Shared.Ui.Editors.BoneMapping.AnimatedBoneHelper.CreateFromSkeleton(AnimationFile file, List\u00601 boneIndexUsedByModel) in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Shared\Editors.Shared.Core\Editors\BoneMapping\AnimatedBoneHelper.cs:line 37\r\n at Editors.KitbasherEditor.ChildEditors.MeshFitter.OpenSkeletonReshaperToolCommand.Execute() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\ChildEditors\MeshFitter\OpenSkeletonReshaperToolCommand.cs:line 82\r\n at Editors.KitbasherEditor.Core.MenuBarViews.KitbasherMenuItem\u00601.TriggerInternal() in C:\Users\ole_k\source\repos\TheAssetEditor\Editors\Kitbashing\KitbasherEditor\Core\MenuBarViews\KitbasherMenuItem.cs:line 41\r\n at Shared.Ui.Common.MenuSystem.MenuAction.TriggerAction() in C:\Users\ole_k\source\repos\TheAssetEditor\Shared\SharedUI\Common\MenuSystem\MenuAction.cs:line 20\r\n at CommunityToolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)\r\n at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)\r\n at System.Windows.Controls.Button.OnClick()\r\n at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n at System.Windows.Input.InputManager.ProcessStagingArea()\r\n at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r\n at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean\u0026 handled)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) \r\n"
],
"UserMessage": "",
"Culture": "ru-RU",
"OSVersion": "Microsoft Windows NT 10.0.19045.0"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions