Hey there,
I've been scratching my head over a problem with a menu, so maybe a fresh pair of eyes can help me out.
AC 1.51f
Unity 5.3.5
I made a menu using Unity UI, and hooked it up to AC in the usual way. It's a simple menu that shows the button mappings for certain gameplay mechanics. It should be shown during gameplay, and it has 6 images on it.
Problem is: whenever this menu is enabled it breaks the Hotspot Vicinity detection. Normally when I start the game the Hotspot UI shows up right away because the player is standing next to a hotspot (I'm using Direct Control - keyboard & controller). But now, the hotspot UI flickers for one second and then turns off. Walking to other hotspots shows the same problem: hotspot UI shows up one second (or sometimes not at all) then turns off again. Same right after I open and close a Pause Gameplay menu. There are no custom scripts on the UI, just a regular canvas with a grid layout containing 6 images.
Comments
When the game is running try disabling the child objects or base components to see if they have an effect. If you find that a particular object/component is causing it, that'll help us find a solution.
Well, at least I could switch to AC permanently for this menu if the cause remains a mystery.
Then unset the Canvas in the original Menu, so that the elements aren't affected by that one either. You should then be able to properly test the child objects.
So next I completely removed the Inventory menu from the manager and put the Unity UI in the scene directly, and that didn't conflict with anything, worked as intended. Then I hooked it up to AC again from scratch and the problem came back, so it's definitely something in the middle there.
I can make it work with just the Unity UI, this menu doesn't need any input or anything, but it sure is strange.