Screenshot - ae2c2c6615ab0ac8f2058e7e695bfff9 - Gyazo Does this look like a good save and load system? The only thing is that when i try to compile i get this warning: Screenshot - dd6e1571e0e7a3a8f5c54d67ce416d7c - Gyazo
Since you are not inheriting “Game Instance TRO” from “Save Game” your cast will always failt therefore you’re logic wont work.
The fix is easy:
Open “Game Instance TRO” and click on “Class Settings” and on the top right you see “Class Options” where you can select “Parent Class”. There search for “Savegame” and select that.
Then save, recompile, done.
it worked at first but when i made the game into a file and tried to start it i got this: Assertion failed: Child->IsChildOf(Parent) [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp] [Line: 3044]
NewObject called with invalid class, GameInstanceTRO_C must be a child of GameInstance
0x00007ff9ddd33b29 UnknownFunction []