Forum rules - please read before posting.

Unity new Input System. Yesterday worked now it doesn't work anymore. I've not changed anything

So I've setup a new project, downloaded the input system package from unity and I've enable it. Then I've downloaded the
Integration: Input System from https://www.adventurecreator.org/downloads and I've added the ControlsReader prefab to the 2D sample scene (the one with the floating sphere)

all worked great, I've clicked on the sphere it started the action dialogue everything.

Then I've implemented the dialogue system (with new input) and changed the hotspot for the sphere to trigger the dialogue system. Again worked all great.

I've reopened the project today and it doesn't work anymore, the sphere hotspot doesn't do anything. i can only click on menus and they show up.

I've removed all the stuff related to dialogue system, nothing.

I've deleted the 2D scene and I've used the game Wizard Edit mode to add a new one. Nothing, both with the ControlsReader or without it only the menu can be interacted with.

I really don't understand what is going on.

Comments

  • So in the player preferences I've disabled the old input and let only the new input

    but now AC doesn't work anymore

    it throws these errors.

    InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.

    Did AC actually works with the new input system or not?

  • Ok, Thank God false alarm, :* <3 after creating an event system game object and switching it to the new Input AND changing the cursor to Hardware instead of UnityUI AC works with the new input system

  • so I've deleted the entire folder created by the AC Game Wizard and created a new one. With the changes above after I've restarted unity it still works so I don't know what was the issue before this. So please ignore the first message issue.

  • It sounds like it was related to the Player tab in your Project settings.

    Unity requires a restart before this tab's Active Input Handling property takes effect - so if you imported Input System without restarting, it would have continued to rely on Input Manager for your first test.

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.