Where is function SaveObject (according to LoadObject)?

There is function LoadObject.
Where is function SaveObject?
How should i save custom objects?

Ok, as i understand SaveObject == SaveAsset, so:

  1. If we want to save object to file-asset, we have to implement our own Asset type and then create that Asset inside editor and save.

  2. If we want to save object as part of project, we can inherit AWorldSettings, create new UObject* UPROPERTY(EditAnywhere, Category=MyGlobalObject), and then change “Edit->Project Settings->Engine->General Settings->Default Classes->World Settings Class” and click “Set as Default”, and then we create/assign object to new property inside World Settings window.

  3. We can make our subclass UCLASS(Blueprintable), and then create new Blueprint with our subclass, and then save Blueprint as asset. We can also assign this Blueprint type to “Edit->Project Settings->Engine->General Settings->Default Classes->Game Singleton Class” and click “Set as Default”. This class then can be also accessed from code GEngine->GameSingleton().

  4. [Recommended] We can create our GameMode with all properties we need, luckily it is Blueprintable by default, then we create Blueprint with sublass of our GameMode. Then we edit all needed properties inside Blueprint Editor->Defaults, then we use this Blueprinted Game Mode for our game, we can setup it inside World Settings.