Steps to reproduce:
- Create a C++ class based on ACharacter
- Create a C++ class based on UActorComponent and add it as a default subobject to the character class
- set bReplicates to true in the constructor of the component
- Replicate the component via the ReplicateSubobjects function on the character class
A null reference occurs in the APawn::IsBasedOnActor function