Hi, what casting does is checking whether a reference to something is of the type you’re casting it to. If you just do class AActor* OtherActor;
then this will not point to anything valid, so casting it to anything will again output something invalid. In other words if you have OtherActor and want to cast it to AWed3182Character, then this will only succeed if OtherActor is a reference to an AWed3182Character. So casting won’t give you a reference to an AWed3182Character, it just checks whether a given reference points to an AWed3182Character.
One way you could get a reference to an existing AWed3182Character would be via UGameplayStatics::GetActorOfClass.