The game runs without any bugs or crashed when i test on Play In Editor, but if i go to Standalone Game i’ll get a crash when trying to start a conversation with an NPC.
The conversation is basically a k-ary tree. I have the node class and the tree class, aswell as the dialogue component for npcs that can be interacted with.
The way i was initializing the tree / nodes are like that :
ConverseSpeech = CreateOptionalDefaultSubobject<UDialogue>(TEXT("ConverseSpeech"));
Same logic for the nodes. I have a node that points to the current node in the tree to know where i am.
I was getting the same crash on PiE when trying to add nodes to the tree, because the nodes and the tree weren’t being initialized.
For some reason, changing the text key, recompiling (and changing back to the previous key if i wanted) would fix the issue, but it seems to not be working when going to Standalone Game.
Paste with the last crash log (can’t just upload the log file here i guess).