FNetBitWriter compile error(5.6.0)

i’ve been trying some simple stuff in the 5.6 Templates, didnt really change much besides a component on the character
now when im trying to compile i get errors which point to ‘NetTokenExportContext.h’
an since its an engine file, i havn’t changed it or included it anywhere

------ Building 7 action(s) started ------
[1/7] Compile [x64] HorrorCharacter.cpp
11>NetTokenExportContext.h(8,7): Error C2144 : syntax error: ‘FNetBitWriter’ should be preceded by ‘;’
class FNetBitWriter;
^
11>NetTokenExportContext.h(8,20): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int
class FNetBitWriter;
^

same error for multiple template files for the HorrorUI and the project’s module as well

Usually when you get seemingly nonsense errors is because you are not using the officially supported Visual Studio version, MSVC, or any other build component. You can always read the specific requirements in Platforms & SDK Updates section of engine release notes. https://youtu.be/94FvzO1HVzY?t=167