How to Load a crash-casuing blueprint class?

Hi guys, i wonder how to load a blueprint class which will cause crash?

I have a blueprint class: BP_Player and i added some nodes in the Tick event, which will get the actor’s location and convert the FVector into FString(by a c++ function i made, which work well), then the FString would be added into a TArray(FString). That’s when i got the crash.

Then i tried to make the c++ function which convert the FVector into FString into empty( simply return an empty FString), the editor still got the crash.

Normally, when this kind of problems happened, i just restarted the engine(since the changes are not saved timely). But this time, i just cannot reopen the project, it kept crashing. The main information from the Crash Reporter is:

Assertion failed: Tag.Size == Loaded [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp] [Line: 1499]

The weird thing is: I used TArray(FVector) to store the location at first, that didn’t give me crash. After i switched to TArray(FString), it immediately gave me crash.

So i have two Question:

1. if there is a way to solve this problem? Or i can only use the backup version?

2. What is the difference between TArray(FString) and TArray(FVector)?

Any help would be Great!

WIshes!!

1 Like