Hi there,
Thank you for bringing me this error to my attention. The <AActor*> was missing in my text. The correct lines are:
From: OutActors.Add(const_cast<AActor*>(EventData.Target));
To: OutActors.Add(const_cast<AActor*>(ToRawPtr(EventData.Target)));
This is what I have:
Give it another try and let me know. I’ll update the tutorial.
Edit: As an update, the reason for this error is that, when copying and pasting the text into the tutorial editor, the “<AActor*>” gets supressed, perhaps because of the symbols. I didn’t notice this. Thank you again for letting me know.
Good luck in your project.