Open 2 Streams on same File (Read + Write)

writerarchive = TUniquePtr<FArchive>(filemanager.CreateFileWriter(*filepath, EFileWrite::FILEWRITE_Append));
readerarchive = TUniquePtr<FArchive>(filemanager.CreateFileReader(*filepath, EFileRead::FILEREAD_Silent));

the readerarchive is a nullptr.

is it possible to make this work or do i have to use another class or way to make this work?

hmm the read archive seems to bee always null, not depending on the order i call it

yup, switching to

IPlatformFile& platformfile = IPlatformFile::GetPlatformPhysical();

filewriter = platformfile.OpenWrite(*datapath, appendtodata, true);

solved my problem, don forget to set the allowread/allowwrite bool to true, since this is the sharing flag not the access flag