Forum rules - please read before posting.

Issue with "Right-clic active item: Deselects Item" after upgrade to 1.83.0

Hi everybody,
AC 1.83.0 and Unity LTS 2022.3.3f1 in 2d.

After the upgrade to 1.83.0 I noticed a strange issue: in the settings manager, under Inventory section, in the "Right-clic active item" I set "Deselects Item". It worked perfectly with previous versions of AC.

After the upgrade, if I select an object from inventory and I put the mouse on a hotspot in scene, if I click with the Right Button of the mouse sometimes it deselects the object, but many times it doesn't work. It seems to work randomly.
If I use the right button in an empty area it works perfectly, the issue seems to be on the hotspots.

Thank you.

Comments

  • edited April 23

    What version were you upgrading from, and can you share a screenshot of your Settings Manager? I'll attempt a recreation.

  • Update: I think I've reproduced it.

    To test a fix: open up AC's PlayerMenus script, and find the CanCurrentlyRightClick function around line 3044.

    Replace its contents with:

    return IsMouseOverMenu () && isOverRightClickElement;
    

    Does that resolve it?

  • Hi Chris, thank you so much.
    I confirm now it works.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.