Casting from a widget blueprint to an actor

Hold on.

I was under the impression you wanted to access the artefact itself in the widget. But you want to just access the Detector itself. Pass Self here instead:

Also, you will not need to cast anymore.