Crash when opening blueprint of a tickable UObject

Hi there,

I have a C++ defined UObject that’s used by a component, but since I made it tickable it crashes on load. Even if I remove the lines below it crashes the editor when I open it. Anyone have any ideas? Thanks!

H:

class TLOK_API UDialogueShot : public UObject, public FTickableGameObject {

	virtual void Tick(float DeltaTime) override;
	bool IsTickable() const override;
	bool IsTickableInEditor() const override;
	bool IsTickableWhenPaused() const override;
	TStatId GetStatId() const override;
}

CPP:

void UDialogueShot::Tick(float DeltaTime) {
	if (LastFrameNumberWeTicked == GFrameCounter)
		return;

	LastFrameNumberWeTicked = GFrameCounter;
}

bool UDialogueShot::IsTickable() const {
	return true;
}

bool UDialogueShot::IsTickableInEditor() const {
	return false;
}

bool UDialogueShot::IsTickableWhenPaused() const {
	return false;
}

TStatId UDialogueShot::GetStatId() const {
	RETURN_QUICK_DECLARE_CYCLE_STAT(UDialogueShot, STATGROUP_Tickables);
}

Crash log:

[2024.02.10-18.19.42:780][482]LogOutputDevice: Error: === Handled ensure: ===
[2024.02.10-18.19.42:780][482]LogOutputDevice: Error: 
[2024.02.10-18.19.42:780][482]LogOutputDevice: Error: Ensure condition failed: bTickable  [File:D:\build\++UE5\Sync\Engine\Source\Editor\PropertyEditor\Private\DetailItemNode.cpp] [Line: 714]