Hello,
I'm encountering a bug in adventure creator. If 'Mouse and Keyboard' is selected as the settings input method, we get proper rollover/rollout events, which is good cause we need those.
However,
when I click on an NPC, the active hotspot is set to that character and the InteractionUI buttons come up, which is good. But, as soon as I roll out of the character, The "activeHostpost" becomes null (so the character's name label dissappears), but the InteractionUI buttons remain visible. If I try to click on those buttons when the activehotspot is null, the action won't be triggered. Only if I happen to click the buttons while the activehotspot is still set to the NPC, then the actions will trigger. (Success to the condition ClickInteractionIcon.. else if(GetActiveHotspot()), the last function of PlayerInteraction.cs)
I've made a video to better explain this situation:
Link:
you can see in the console traces how the active hotspot changes to null whenever i roll out. The button actions work If i click on the buttons while activehostpot is set to the NPC, but if the activehotspot is null, the buttons wont trigger the actions.
What do you think would be a solution to this problem?
Thank you.
Comments
However, this sounds very much like a bug I've already fixed which is scheduled to be included in v1.46, so this might well be solved for you when the update is released.