Editor crashes if i use ->ActorHasTag()

Strange. I have tried this too. But i have a look at it. Thanks for your help.