In the editor, you can copy an entire data structure to a single string, and paste it into a new one. It’s very handy, but let’s say I want to generate that data ingame and write that same string to a file so I can copy it and store it in the editor.
Can this be done?
I don’t want to write the struct to JSON, I want that properly formatted string you get in the editor.
Hello. Do you have a snippet you can share, to convert from String back to Struct? Somehow, I can’t manage to make UScriptStruct::ImportText to compile.