I think the error is because GetOwner() is probably NULL when the CDO is called. I’d check for NULL.
I do searches for other actors/components in other functions, outside the constructor.
very likely GetOwner() is null, constructor is a c++ constructor, so it’d be called before anything else is done on the object. Also, does this class ever even have an Owner?
When posting an error, describe the error, not just “makes an error”
Here’s a thread with a ton of possibilities for where you could handle runtime initialization logic for UObjects