Widget Interact Component randomly stops working
I wanted to use the widget interaction component for the first time with a widget component, To be able to interact with widgets in the world. But the widget interaction component loses focus from the widget randomly.
It seems to find the widget and lose it randomly. I stood still and measured time between when it found and lost the widget: Found: 12 sec Lost: 1:09 min Found: 0:58 min Lost: 1:29 min
Then i started moving and the times were like this:
Found: 16 sec Lost: 5 sec Found: 4 sec Lost: 35 sec Found: 2 sec
So it seems like it changes more if there are more going on. But it doesn't help me figuring out the problem.
I also tested with an actor containing only a very simple widget and an actor containing only a widget interact component but the result is the same.
I tested this on a clean project also but that worked fine.
Problem solved. I had an AI running around line tracing each step and when it got out of range it stopped to line trace. Which were when the widget interaction component started working. Can you only raytrace once per channel each step? I created an other channel for the UI and now it's working
Follow this question
Once you sign in you will be able to subscribe for any updates here