To add a bit: Does 'Resolving' a Soft Class Reference to 'Get Class Defaults' Create a Hard Reference? - #11 by SVR33
Casting to a base class and even components are also viable options IMO.
Think this is a good read with more references to keep digging: Unreal Engine C++ Complete Guide - Tom Looman
This is true!