Forum rules - please read before posting.

Flickering inventory interaction icons

Hey! The tool is great and I love it, but recently I have a problem I can't solve.

I want my player to collide with the hotspot and when the mouse it over the hotspot we can see the interaction options.

The Interaction Icons are in the UI layer, and the hostpost sprite is on the default layer with -99 order in this layer. It doesn't flicker while I hover over the hostspot.

What I notice is the changing alpha on the canvas group.

I assume it is something wrong with the interaction settings.

https://pasteboard.co/AYUOAKmI1XOs.png

https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExcTZ2MDM2ODU0bHFuejdmZng3ZWN0eXVwZGZsOHFvNTduOXFvMG04ZCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/h6ngcw6jtMYVq4nnYN/giphy.gif

Comments

  • What are your AC/Unity versions, and does this occur if you set the Menu's Transition type to None, or set its Source to Adventure Creator?

    Try unchecking Place Hotspots on separate layer? in the Settings Manager, and share screenshots of your Player's Inspector - both their root, and their "Hotspot detector" object. It may be a case of it detecting/not-detecting Hotspots each frame somehow.

  • edited August 2023

    Thank you for the fast reply.

    The only thing that stopped flickering was putting transition to None on Interaction Menu (both AC and Unity UI). However, if the transition is none, I can't move the player.

    https://pasteboard.co/S78ZgYMeFwX7.png

  • Please don't crop your screenshots - I need to see the Player's full Inspector, including any other components, as well as their Layer.

    Are any custom scripts attached to your Player that may interfere?

    If the Player isn't moving, check the game's state by enabling the Status window from the bottom of the Settings Manager - what does it display at the time the issue occurs?

  • edited August 2023

    Oh, right. Sorry about that.

    Nothing chaged in the status, it was normal all the time.

    The experimental package is the Vector graphics, but I don't use it actively in this project.

    There are no additional scripts.

    I tried to check ignore parents on canvas but it didn't do anything.

    https://pasteboard.co/5YNGJ5Wf0c7E.png
    https://pasteboard.co/X2berxylOQXk.png
    https://pasteboard.co/Owa0QRtP5bvO.png
    https://pasteboard.co/Di7VKZXgk4hd.png

    Player and the hotspot during play mode:
    https://pasteboard.co/aymSeNO2b42f.png
    https://pasteboard.co/IuLauyqTxsvI.png

  • Oh wow... I feel so stupid... I was experimenting before with https://adventure-creator.fandom.com/wiki/Proximity-based_Interaction_menus. I created script InteractionOnNearest. I supose to change the settings to See Interactions with to Via Script Only. Later I changed See Interactions with to Cursor over Hotspot, and I thought it wont reference the script. But apparently the fact it was on the object in the scene was enough. I deleted the script and it works.

    So... **Your tool is amazing, and I am silly. **

    Btw, is there a way to additionally suport Adventure Creator, like donations?

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.