Crashing when trying to add data to a data table

Steps to reproduce (using blueprints):

  1. Create new Blank Project.
  2. Create new Structure.
  3. Populate structure with 1 name field and 4 integers.
  4. Create new DataTable based on previous Structure.
  5. Hit “+” to add new row.
  6. Crash

Already send report from my client. Any help?

Assertion failed: IsValid() [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Core\Public\Templates\SharedPointer.h] [Line: 739] 



UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:440]
UE4Editor_DataTableEditor!FDataTableEditor::SetHighlightedRow() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\datatableeditor\private\datatableeditor.cpp:732]
UE4Editor_DataTableEditor!TBaseSPMethodDelegateInstance<0,FDataTableEditor,0,void __cdecl(FName)>::ExecuteIfSafe() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:428]
UE4Editor_DataTableEditor!SRowEditor::Restore() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\datatableeditor\private\sroweditor.cpp:192]
UE4Editor_DataTableEditor!SRowEditor::PostChange() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\datatableeditor\private\sroweditor.cpp:120]
UE4Editor_UnrealEd!FListenerManager<UDataTable,enum FDataTableEditorUtils::EDataTableChangeInfo>::PostChange() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\public\kismet2\listenermanager.h:60]
UE4Editor_UnrealEd!FDataTableEditorUtils::AddRow() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\datatableeditorutils.cpp:67]
UE4Editor_DataTableEditor!SRowEditor::OnAddClicked() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\datatableeditor\private\sroweditor.cpp:274]
UE4Editor_DataTableEditor!TMemberFunctionCaller<SRowEditor,FReply (__cdecl SRowEditor::*)(void) __ptr64>::operator()<>() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstanceinterface_variadics.h:161]
UE4Editor_DataTableEditor!TTupleImpl<TIntegerSequence<unsigned int> >::ApplyAfter_ExplicitReturnType<FReply,TMemberFunctionCaller<SRowEditor,FReply (__cdecl SRowEditor::*)(void) __ptr64> >() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\tuple.h:128]
UE4Editor_DataTableEditor!TBaseSPMethodDelegateInstance<0,SRowEditor,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl_variadics.inl:321]
UE4Editor_Slate!TBaseDelegate<FReply>::Execute() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl_variadics.inl:521]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:275]
UE4Editor_Slate!<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1>::operator()() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4598]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_8d0e9a1da76abd0a756a3a9d775f5ed1> >() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:215]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4587]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5041]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5021]
UE4Editor_Core!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1507]
UE4Editor_Core!FWindowsApplication::DeferMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:1847]
UE4Editor_Core!FWindowsApplication::ProcessMessage() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:742]
UE4Editor_Core!FWindowsApplication::AppWndProc() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsapplication.cpp:664]
user32
user32
UE4Editor_Core!FWindowsPlatformMisc::PumpMessages() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsplatformmisc.cpp:903]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2729]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:148]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Hi ,

Unfortunately, I have not been able to reproduce this on my end from the steps provided.

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • Can you post your crash logs here so I can take a look? These can be found at \Unreal Projects\PROJECTNAME\saved\logs\
  • Did you change any of the structs default values?
  • Are there any additional steps I can take to reproduce this on my end?

Hello ,

Any project.

Does this occur in a clean, blank
project with no additional content or
is it limited to one project?

Attached

Can you post your crash logs here so I
can take a look? These can be found at
\Unreal
Projects\PROJECTNAME\saved\logs\

No.

Did you change any of the structs
default values?

No?

Are there any additional steps I can
take to reproduce this on my end?

Try running a verify on your build. You can do this by going to the Launcher>Library>Engine Version Dropdown Context Menu>Verify. This will find any missing or damaged files in your engine and repair/replace them if there are any.

Done, also updated to 4.12.4. Same deal. In new blank project just crashing, while in old one structures not even available (see attachment).

Ok, it’s seems to work for now. So, if you somehow don’t have “Data Table” tab opened in your Data Table Editor and trying to click “+” to add new row it’s crash. Than you return this tab from Window menu all seems to do just fine. Really strange bug.

Unfortunately that doesn’t seem to reproduce it on my end either. Do you have a sample project that this is occurring in I can take a look at?

No, sadly i cannot reproduce problem anymore. But i found another, in blank project try to create Structure named “Actor” with default field and Data Table with name “Actors”, then try to open this Data Table (I get Access violation - code c0000005 (first/second chance not available))

Hello ,

I was able to reproduce the crash on our end. I have written up a report (UE-32623) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

No problems, thank you.

I’m having same problem in version 4.18.3. Every time I try to add a new row in my data table the editor crashes. The fix was what the above poster () said. You must have the window “Data Table” and “Row Editor” checked at the very top toolbar then it doesn’t crash.

Having this crash on 5.0.2 as well. Created a data table, clicked on add row, crashed. Restarted, recreated it, everything was fine. Closed it to go edit my map, came back, added a new row, crash.