Why is my function returning a different object type?

The _C means it is blueprint class.

For the casting issue, I’m not sure though. What is the type of the return variable? It may be getting cast on return.