Unable to package my game. Alot of engine things are broken?

Hi! I recently upgraded my sourcebuild version of ue4 from 4.20 to 4.21. I updated my project and tried to package it. Error. In the packaging log a ton of stuff seems to be broken. Engine level stuff. I tried to build the engine from source again to see if i might put a weird character in a file or something. Nothing. The compile completes without a problem. My game compiles fine too. I can play it no problem. But each time i package i get a ton of errors that some engine level stuff is not compiling correctly.

Here are some problems the output log gives me:

C:\Unreal\UnrealEngine\Engine\Source\Developer\MeshBoneReduction\Private\MeshBoneReduction.cpp(138): error C2027: use of undefined type ‘FSkelMeshSection’

C:\Unreal\UnrealEngine\Engine\Source\Developer\MeshBoneReduction\Public\MeshBoneReduction.h(10): note: see declaration of ‘FSkelMeshSection’

C:\Unreal\UnrealEngine\Engine\Source\Developer\MeshBoneReduction\Private\MeshBoneReduction.cpp(246): error C2065: ‘Vert’: undeclared identifier

C:\Unreal\UnrealEngine\Engine\Source\Developer\MeshBoneReduction\Private\MeshBoneReduction.cpp(414): error C2143: syntax error: missing ‘;’ before ‘:’

And many more. I checked all of those files and everything is fine. Keep in mind that if i build the engine using visual studio 2017 everything is working correctly. I attached the packaging log below!

link text

hey I noticed that leaving nodes unhooked or just useless classes that never got finished kept me from packing. dont know if that helps. im also having issues with clients stacking huds on every respawn which sounds similar to a problem you had before. reading through your posts looking for a solution. I have no player controller class. im using the default. all the input and ■■■■ is inside the character class. I have three classes and can successfully package lol. this is just a prototype. we are gonna rebuild the game properly when we get it to an alpha ready state