Forum rules - please read before posting.

Hotspot not clickable

Hello AC fans!

I'm encountering an issue while working on a 2D scene that I'm using as a map. All the images are on the UI layer, while the hotspot is Default. When I click on the Hotspot, it doesn't get activated unless I remove the Event System that gets "spawned" in the hierarchy while the game plays. I believe it's the AC Event System, as I've checked and there are no duplicate Event Systems in the scene. I'd appreciate any ideas on what could be causing this!

Hotspot issue video

Comments

  • edited June 2024

    I solved it for the time being by turning the images of the locations into buttons and attaching a Scene Change script to them.

  • If the Event System is blocking it, it may be that mouse clicks are being registered by your UI before they can "reach" the Hotspot.

    Is your "MapCanvas" a Unity UI Canvas? Try preventing raycasting to it, or you could try replacing the Hotspots with UI Button components that run ActionLists as part of their "On Click" events.

  • Yup, converting the hotspot to buttons did it for me. Thanks, Chris, you're the best!

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.