Errors Upgrading To 4.9

I am trying to upgrade from 4.8 to 4.9. I am getting a weird error though that I can’t seem to figure out. Here are the errors:

Error	27 error : Failed to produce item: C:\...\UE4Editor-TheArena-Win64-DebugGame.dll

Error	26 error C2439: 'TSharedPtr<ObjectType,0>::Object' : member could not be initialized	C:\...\SharedPointer.h

Error	25 error C2440: 'initializing' : cannot convert from 'const FUniqueNetId *const ' to 'FUniqueNetId *'	C:\...\SharedPointer.h	

Now here is the output

I guess you are using in your project old net id’s for multiplayer system, check for lines like this in your code:

TSharedPtr<FUniqueNetId> VariableID;

and replace them with that:

TSharedPtr<const FUniqueNetId> VariableID;

Thanks mate!