Why can’t I import my character into Unreal 4.20?

Sending a character to Unreal will sometimes pre-terminate with the error message: “The name of the xxx.uproject file must match the name of the project passed in the command line”. This error originates from Unreal and can be saved by upgrading to Unreal 4.21.