I am making an editor plugin and one of its functions needs to add and remove rows to data tables (editor only, not at runtime). Everything has been working perfectly since at least 5.3 up to 5.5, but now in 5.6, when trying to remove a row from a table using the blueprint node “Remove Data Table Row” from the data table function library it causes a crash of the editor. I have also tried in c++ to call RemoveRow(FName RowName) from DataTable.h but it caused the same crash and error.
Assertion failed: Pair != nullptr [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 729]
I have already submitted a bug report but I am wondering if anyone else has experienced this issue? I’ve tested this in a new project and I have verified my engine. Workarounds are very welcome! I cannot publish my plugin until this is fixed or I have a suitable solution, which is a real bummer.
Steps to replicate:
- Create a new data table using any struct. I used GameplayTagTableRow for this test.
- Call the data table TEST_TABLE.
- Add several rows to the table and save the table.
- Create a EditorUtilityWidget.
- Add a data table variable to the widget, compile, and set the data table variable to TEST_TABLE
- Add a button to the widget and implement the On Clicked event
- From On Clicked, add the node “Get Data Table Row Names” and use the Get (0) to Get the Name of the first row.
- Use the “Remove Data Table Row” node to remove the first row of the table.
- Compile and Run the Utility Widget.
- Click on the button
Assertion failed: Pair != nullptr [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Map.h] [Line: 729]
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_UMG
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll