i am new to Unreal Engine 4. I have a problem with Tags. How can i figure out if an actor has a tag or not?
I gave an actor a new component tag, added this to a StaticMeshActor due to the details palette. (Category tags → component tags)
Now I tried to use “ActorHasTag(…)” in my code, but always the result was false. If i am trying to access the tags directly by Tags, i always get an AccessViolation. I am very sure, that i have the right Actor, because I can log his correct name.
What am i doing wrong?
PS: Worked a lot with Unity in the past, maybe i got a wrong mind about tags in UE4?