Hi all,
I am having a very unusual issue with the function OnEndCursorOver. I am using this function on my character’s capsule component to determine whether or not the mouse is within - if it is, I enable SetRenderCustomDepth to draw an outline around the mesh, otherwise it is not visible.
Here is the unusual part: this function is only ever called on one of my maps. If I make a brand new map and drop in a few characters, use the same GameMode and add the required PostProcessingVolume, the function is never called. This is absolutely the case, because the break point is never hit.
Here’s the line of code I’m using:
this->CapsuleComponent->OnEndCursorOver.AddDynamic(this, &ARoguelikeCharacter::MousedOverEnd);
As far as I can tell, nothing sets this map apart from any of the others. Of the 5 maps I have tried, only this single map works.
Is there some level variable or other setting I must enable to see this event fire?
Thanks