To save assets with C++, it's simple, you only have to ask UEditorLoadingAndSavingUtils to do it. You can also FEditorFileUtils to get the list of all the modified assets that should be saved by the user.
Project Download: https://www.patreon.com/posts/unreal-...
include "FileHelpers.h" // UnrealEd https://dev.epicgames.com/documentati...
────────────────────────────────────────────────────
Playlist ► • How To? - Unreal Engine 5 C++
────────────────────────────────────────────────────
French Channel ► https://www.youtube.com/AlexQuevillon...
English Channel ► https://www.youtube.com/AlexQuevillon...
────────────────────────────────────────────────────
Discord ► / discord
Patreon (Project Files) ► / alexquevillon
YouTube Members ► / @alexquevillonen
────────────────────────────────────────────────────
Unreal Engine Version ► 5.2
────────────────────────────────────────────────────
0:00 Intro
0:09 Declare functions
2:05 Includes
2:35 Save Asset
5:14 Mark Asset Modified
6:16 Get Modified Assets
9:35 Save All Modified Assets
11:09 Test
15:50 Patreon Wall!
#UnrealEngine #UE5 #UE5Tutorial #UE4 #UE4Tutorial
UE5 C++ 56 - How To Save Assets With C++? - Unreal Engine Tutorial CPP Editor Dirty Package Modified