Return a UObject from a BlueprintImplementableEvent

I have read Return a value from a BlueprintImplementableEvent - Blueprint - Epic Developer Community Forums; “XXXX& output” doesn’t work if XXXX is a UObject. Is it possible to have BP return a UObject to C++?

1 Like

UObjects can be only used in pointers, so you need to make pointer reference XXXX*&

somehow that actually works, despite looking like a guaranteed error. Thanks.