So I have blueprint event, and I want to pass it an AActor. I’m trying to do it like this:
`UFUNCTION ( BlueprintImplementableEvent, BlueprintCallable, Category = “Reactions” )
virtual void OnPressed ( AActor* underCursor );`
But I get some memory error on stop simulation.
How do I do it correctly?
[EDIT]
Unhandled exception at the end disappears, when I remove AActor pointer from event.
[/EDIT]