Forum rules - please read before posting.

No Cursor and no Hotspot

edited July 24 in Technical Q&A

Hello

We are going through your 2D Primer video tutorial step by step, simply using our assets. Every checkbox is selected in exactly the same way.
When we get to the step where we see the opening scene and then the cursor and move over a hotspot in “Game” mode (video minute 13), we simply don't see a cursor or a hotspot.

The cursor is set to active and we have gone through all the steps several times.

Thanks for your help

Best regards

Comments

  • Add:

    Also when setting up the Character es per the instructions, and changing Moving method etc. I don't see a Cursor and I am not able to move the Character at all.

    What could be the issue?

  • If you find unable to move/interact in a scene, the first thing to check is that the game isn't in "Cutscene" mode, as caused by an ActionList that's set to Block Gameplay. This may be the case given your OnStart cutscene, that displays a long line of speech when the scene opens.

    At the bottom of the Settings Manager, you can enable the AC Status in the upper-left corner of the Game window at runtime. This will show the game's current game-state, as well as the reason behind it (i.e. what ActionLists are running).

    If it's in Cutscene mode, temporarily un-set your OnStart cutscene from the Scene Manager - does it then allow gameplay as normal?

    I wonder if there's also an issue with your interface - since the speech text should show on-screen by default. In regular gameplay, you should also see the "Menu" button in the lower-left corner of the screen (as with the 3D Demo).

    If neither that, nor the subtitles, are showing, do you have a set of Managers in the Menu Manager? These should have been generated by the New Game Wizard, unless you opted to forego the default interface.

  • edited July 25

    Hi Chris

    It still doesn't work - I followed your instruction.....

    Setup:

    • Unity 6.1
    • Adventure Creator 1.84.3
    • Scene: 2D background, standard demo elements (Character “Brain”, Hotspots, NavMesh).
    • All Managers (Settings, Scene, Actions, Menu, Variables, Inventory, Cursor, Speech) are correctly assigned (see screenshot).
    • EventSystem is correctly linked in the Menu Manager.
    • Menus (including Cursor, Subtitles, Hotspot) are all active and present by default.
    • AC Status shows “Current game state: Normal” during Play mode (so no Cutscene blocking gameplay).
    • OnStart Cutscene has been disabled for testing.

    Problem:

    • The cursor does not appear, neither in the Editor nor in Play mode.
    • Hotspots cannot be clicked because of this.
    • Menu elements (such as the “Menu” button in the bottom left) also do not appear.
    • Subtitles do not show either, even though they are enabled.

    Already checked:

    • EventSystem is present and correctly assigned in the Menu Manager.
    • All standard Managers from the New Game Wizard are present.
    • Menu and Cursor elements are active (not disabled).
    • No OnStart Cutscene is blocking player input.
    • The game state is “Normal” according to the AC status display.

    Could the issue be that my background sprite is scaled too large, causing the UI/cursor not to render?
    Does the cursor need to be explicitly assigned to a Sorting Layer or Canvas (it’s currently on “Default”)?
    Could the problem be related to no active Canvas or UI Sorting Layer in the scene?
    Are there any additional settings required to enable the cursor visibility in 2D scenes (e.g., Camera Overlay / Canvas Scaler)?

    Do you have any idea how I can make the cursor visible?

  • edited July 26

    Thanks for the details, and apologies for the trouble.

    If you'd like to PM me your project .zip (you can omit the Library folder) I'll take a look. It's likely something very simple but hard to spot without seeing it for myself.

    As your "Cursor rendering" field is set to Software, it'll use Unity's ImGUI system to render, which will be drawn atop all else in the scene. The background sprites / Canvases present will not prevent it from showing.

    If the game state is "Normal", the cursor will only be hidden if it is "locked". This can be done either through Actions, or by checking Lock cursor in screen's centre when game begins? in the Settings Manager, which is not the case.

    Are your Menus' Source fields set to Adventure Creator or Unity Ui Prefab? Both values will work for the default interface, but the former will also use ImGUI so will also be unaffected by sorting layers / other aspects.

    Regarding your EventSystem - is this a custom prefab? The Input System template should provide it's own EventSystem_InputSystem prefab that should be provided in your game's "Input System" integration sub-folder. However, this shouldn't affect the presence of the cursor.

    Check the Console window in case AC has detected an issue, but otherwise I'm a little stumped as I don't see any issues based on your description / screenshots.

    You can try also temporarily swapping out your Settings and Cursor Manager asset files for those of the 2D Demo to see which (if any) is causing the issue. These are named Demo2D_SettingsManager and Demo2d_CursorManager respectively. If Hotspots are still not detectable, it may be a scene issue. In which case, try using the New Game Wizard to install the 2D Sample Scene and try that. Use the first page of the wizard's Modify existing option to install new Templates without generating new Managers.

  • Thanks Chris, sent you an PM

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.