Hi communty,
this is my first and I'll try to be as detailed as possible.
I have a button input ("space") that flashes all hotspots.
The hotspots are flashing for 1 sec. While they do they will suddenly disappear or they won't even show up when the mouse cursor is hovering over them. Please check the video link for an example:
https://youtu.be/iEL8wsWrdYU
I want the hotspots to only appear when pressing "space". The rest of the game the hotspot texture won't show up. I only want the state of the cursor to change from an inactive to an active state when hovering over a possible interaction - which it does perfectly. But I can't get the flashing hotspots thing to work properly.
I'd really appreciate any help on that issue. As far as I know this is no common issue though the flashing hotspots feature is quite common. Maybe someone here had the same problem and can direct me to the root of this.
All the best
Sascha
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Welcome to the community, @Ptomaine.
This is a bug, and will be addressed as part of the next update.
The information you've shared should be enough for me to recreate and deal with the issue, but I will let you know if I need any more details - thanks for sharing.
Thank you very much, Chris!^^
Recreated.
You can prevent this behaviour by going to the Highlight Inspector and unchecking Enable when associated Hotspot is selected?. There is a bug that causes the icon to disappear once the cursor leaves the Hotspot, but this will be addressed in the next update.
Hey did this ever get sorted out? I'm having the same issue.
I unchecked Enable when associated Hotspot is selected and that did fix the cursor leaving and flash disappearing problem but I still have this problem that when I right click to flash hotspots (If I'm hovering over a hotspot when I flash everything that hotspot only never highlights) This has been this way for a while and every setting and attempt I've tried hasn't gotten rid of it.
I have also now tried to use custom events turning Easy Performant Outline on and off and that is still having the exact same behaviour.
Unity Version 2021.3.16f1
AC Version 1.78.4
Recreated, thanks for the details.
This is a separate issue, and I will issue a fix in the next release.
In the meantime, you should be able to work around this temporarily by opening AC's PlayerInput script and replacing line 1464:
with:
Thanks so much man. It still didn't work but with your tip I figured it out!
I also changed this and it's working.
AC's HighlightHotspots script line 61:
else if (hotspot.IsOn() && hotspot.PlayerIsWithinBoundary() && hotspot != KickStarter.playerInteraction.GetActiveHotspot())
with:
else if (hotspot.IsOn() && hotspot.PlayerIsWithinBoundary())
I also discovered this while screwing around just figured I'd mention it
If you release the flash if the highlighted hotspots are still fading due to the transition time you cannot flash them again during that period. Not big deal for me cuz my transition time is like .1 but just figured I'd mention it.
Thanks again. Cheers
Noted, thanks - I'll look into it.