Variable values persisting between sessions?

For anyone who does encounter this issue, it seems there maybe was some sort of weird error surrounding components and the GetOwner() function. For whatever reason when I booted up UE5 today, my HealthComponent’s GetOwner() function returned the base class of my actor instead of the instance.

Using a print message, with the code

UE_LOG(LogTemp, Warning, TEXT("%s's Health component is owned by %s (Should be %s)"), *GetActorLabel(), *GetHealthComponent()->GetOwner()->GetActorLabel(), *GetActorLabel());

returned the log message

"BP_FirstPersonCharacter0's Health component is owned by BaseCharacter (Should be BP_FirstPersonCharacter0)"

Which is how I figured out the issue. Changing my HealthComponent variable to HealthComponent2 fixed the issue entirely. I’m not really sure how this bug occurs but I think it’s a bug present in 5.2.