# "The following Data Tables are missing their row structure and will not be editable."

**URL:** <https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [February 11, 2025, 10:57am UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218 "2025-02-11T10:57:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarkin1230](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarkin1230](https://forums.unrealengine.com/u/Tarkin1230)\
**Post date:** [February 11, 2025, 10:57am UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/1 "2025-02-11T10:57:23Z")

</div>

Hi! I made a simple c++ struct, and I wanted to make a Data Table out of EGridShape, when I first create data table, I can add edit rows, everything works, but when I close the editor and turn it back on, it’s says that :

"The following Data Tables are missing their row structure and will not be editable.

```
* NewDataTable (Row Structure: /Script/Tactica.GridShapeData)

```

Do you want to open these data tables?"

And it can’t be open anymore, what am i doing wrong?

```auto
#pragma once

#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "GridStructs.generated.h"

UENUM()
enum class EGridShape
{
	None UMETA(DisplayName = "None"),
	Square UMETA(DisplayName = "Square"),
	Triangle UMETA(DisplayName = "Triangle"),
	Hexagon UMETA(DisplayName = "Hexagon"),
};

USTRUCT(BlueprintType)
struct FGridShapeData : public FTableRowBase
{
	GENERATED_USTRUCT_BODY()

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	FName ID;
 
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	FVector MeshSize;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UStaticMesh* Mesh;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UStaticMesh* FlatMesh;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* MeshMaterial;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* FlatBorderMaterial;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* FlatFilledMaterial;
};

```

---

<div class="post-metadata">

**Author:** ![Lordynn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lordynn](https://forums.unrealengine.com/u/Lordynn)\
**Post date:** [February 28, 2025, 7:55pm UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/2 "2025-02-28T19:55:18Z")

</div>

I’m having the exact same issue.  
I created a struct in c++ to import some data table using it as row data, but when I close the editor and open it again, I can’t even find that structure in the list of row data for a new data table until I reimport everything.  
But even after reimporting everything, all the places where I use that struct loose the references and I have to manually edit all the BP that were acceding it. Anyone has an idea on how to fix it? Are we doing something wrong?

---

<div class="post-metadata">

**Author:** ![SpecZynk](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/speczynk/32/1117840_2.png) [@SpecZynk](https://forums.unrealengine.com/u/SpecZynk)\
**Post date:** [February 28, 2025, 11:03pm UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/3 "2025-02-28T23:03:30Z")

</div>

Hi,

May you be great.

So I just made a simple adjustment in your code and it worked just fine.

1. Add the macro YOUPROJECT\_API after declare your struct.
2. Use GENERATED\_BODY.

```auto
#pragma once

#include "CoreMinimal.h"
#include "Engine/DataTable.h"
#include "GridStructs.generated.h"

UENUM()
enum class EGridShape
{
	None UMETA(DisplayName = "None"),
	Square UMETA(DisplayName = "Square"),
	Triangle UMETA(DisplayName = "Triangle"),
	Hexagon UMETA(DisplayName = "Hexagon"),
};

// 1. DEV55_API 
USTRUCT(BlueprintType)
struct DEV55_API FGridShapeData : public FTableRowBase
{
	// 2. GENERATED_BODY
	GENERATED_BODY()

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	FName ID;
 
	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	FVector MeshSize;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UStaticMesh* Mesh;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UStaticMesh* FlatMesh;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* MeshMaterial;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* FlatBorderMaterial;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = GridShape)
	UMaterialInstance* FlatFilledMaterial;
};

```

@Tarkin1230, I’d like to suggest you instead of use raw pointers in your data table, try to use `TSoftObjectPtr<Type>`.

@Lordynn , try the solution above, it may work for as well.

---

<div class="post-metadata">

**Author:** ![Lorelands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lorelands](https://forums.unrealengine.com/u/Lorelands)\
**Post date:** [March 5, 2025, 8:30pm UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/4 "2025-03-05T20:30:20Z")

</div>

@SpecZynk Unfortunately, this didn’t work for me. Any other ideas? I didn’t rename or move the struct, but I did try renaming it after I couldn’t resolve the issue. The issue still persists after renaming the struct and creating a new data table asset. Every time I relaunch the editor, the data table loses the reference to the struct. It’s also worth noting that the editor still sees the struct as I can create a new data table and point it to the same struct. I’ve also tried wiping the cache folders and rebuilding.

UPDATE: I forgot to wipe the plugin cache folders where the struct actually resides, but that didn’t work, either.

UPDATE 2: It appears to finally have sorted itself out? I purged cache folders again, and did a clean/rebuild of the projects. So far so good. I also applied the change mentioned here to hopefully avoid having this happen, again. Basically, enabling the “Force Compilation on Startup” option. Others seemed to have success with it, so hoping for the same.

> [@My C++ classes disappear after reopening the project. Why?](https://forums.unrealengine.com/t/my-c-classes-disappear-after-reopening-the-project-why/535990/6):
>
> Thank you Zeaf. I launch the project from the launcher and i use the ide to write c++ code. I have deleted intermediate and binaries folders,then the launcher asks me if i want to rebuild the project. After that,when i open the project,my classes reappear again but when i open visual studio,the editor tells me that the project does not exist. So,after deleting intermediate and binaries folders and rebuilding i close ide and project,and then open again the project In World Settings/ GameMo…

UPDATE 3: Things seemed fine after a couple of restarts, but it has started happening, again. I’m on 5.5.3

UPDATE 4: Finally fixed it! Thanks to this post, I realized that I needed to change the LoadingPhase of my plugin from “Default” to “PreDefault” (or earlier).

> [@Blueprint could not be loaded because it derives from an invalid class](https://forums.unrealengine.com/t/blueprint-could-not-be-loaded-because-it-derives-from-an-invalid-class/294732/30):
>
> So, I was having this issue as well, and I did find a solution that worked for me (though I understand it may not work for everyone). I hope others can at least gain insight from how I went about solving my issue. In my case, I’m making a 3rd party plugin using C++, and was having the issue described by some i.e. whenever I created a blueprint derived from a C++ class, it worked initially, but failed the next time I rebuilt the editor. Non-solutions proposed previously: deleting the binaries f…

---

<div class="post-metadata">

**Author:** ![Michael-EG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Michael-EG](https://forums.unrealengine.com/u/Michael-EG)\
**Post date:** [March 6, 2025, 12:53am UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/5 "2025-03-06T00:53:54Z")

</div>

The loading phase can be one cause. For others, it might also be a problem related to Live Coding:

Structs (and sometimes also Classes), when compiled through Live Coding, can run into issues. It should work, but Live Coding is still a bit buggy from time to time and Patches don’t get properly reapplied when opening the Project again, most of the time a build through the IDE instead of Live Coding will fix it, but sometimes the Intermediate folder needs to be purged.

Funny enough, the Loading Phase is sometimes even an issue with Unreal Plugins. As far as I remember, the Audio Capture Plugin would sometimes throw Errors about missing structs through UE 5.1-5.3 with every restart. If I remember correctly, it was an issue with the loading phase. So yeah, it’s sometimes really annoying.

Hopefully, it helps someone at some point in the future 😃

---

<div class="post-metadata">

**Author:** ![WarmSoyMilk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WarmSoyMilk](https://forums.unrealengine.com/u/WarmSoyMilk)\
**Post date:** [August 24, 2025, 1:49pm UTC](https://forums.unrealengine.com/t/the-following-data-tables-are-missing-their-row-structure-and-will-not-be-editable/2327218/6 "2025-08-24T13:49:50Z")

</div>

Just chiming in with my own experience. I had the exact issue described in OP, on 5.6, for a struct I was trying to define in the project’s primary module.

The fix for me also involved loading phase. For obvious reasons I didn’t want to change the loading phase of the primary module, so my fix was to add a new plugin for it.

Specific steps for those less familiar:

- Create a new Plugin (named something like CoreDataTypes)
- Add it to the primary module build.cs, in PublicDependencyModuleNames
- Set the new plugin LoadingPhase to PreLoadingScreen (in CoreDataTypes.uplugin)
- Move the struct header file into the plugin’s public source folder
