I need to save game data to the disk. Does UE have a way to make a new directory if it does not exist on WINDOWS.
For C++ you’ll want to use IPlatFormFile, documentation for which can be found here.
For a blueprint solution, there is a node simply called Make Directory, documented here.
I hope this information helps!
1 Like
Thanks for the suggestion, unfortunately it has not fixed my problem. That IPlatFormFile CreateDirectory function is pure virtual. It looks like there is a Unix implementation for it, but I cant find a windows implementation. I also cant find that Made Directory blueprint node in my node selector, very weird.
There’s probably a way to get at the current platforms implementation of the IPlatformFile interface. If you search that in code you’ll probably find examples of how it’s done normally.