The basics of my game involve clicking on an object and an interaction menu comes up. At present I am working on it by having a UI widget menu attached to each object so when it is pressed on the menu comes up. The issue I’m running into is collision. I have it set to enable collision and show the widget on click and the reverse when clicked again. However, it only works properly when the menu has been opened and closed then reopened. What is happening is on first launch the buttons do not function correctly, but after closing the menu and opening again they work. I think the issue is to do with the starting collision type. See below my blueprint.
So when it is enabled it changes it to query only collision, but never works the first time around. I’ve tried setting the spawn collision to NoCollisions, UI and a few others but I am still running into the same error. When spawn collision is set to NoCollisions then the buttons never work after spawning, when set to UICollisios they work when only one instance of the object is in scene but does not work first time when there are multiple instances of the object.