InputSystem icon indicating copy to clipboard operation
InputSystem copied to clipboard

2019.1.0b10 Compatibilty / Demo Project

Open eblabs opened this issue 7 years ago • 9 comments

Hi,

Im just getting started with using the new Input System. I cant seem to get any of the demo projects to work with 2019.1.0b10. So I just wanted to check if this version of Unity was in fact compatible with the latest preview version of the Input System.

I had import errors on "DemoControls.inputactions" and nothing seems to happen when in playmode. Not even buttons are responsive to mouse clicks.

I setup a new/empty unity project just for testing this, but so far it doesnt seem to be working at all.

Thanks for any ideas!

All the best,

Eric

eblabs avatar Apr 07 '19 08:04 eblabs

There shouldn't be import errors but the Demo.unity scene ATM isn't functional. Bit confusing ATM but in the repo, only SimpleDemo is expected to work. The full Demo is currently slow getting off the ground.

Rene-Damm avatar Apr 09 '19 10:04 Rene-Damm

Thanks for the info @renedamm ! Ill give it another try and reply back...

eblabs avatar Apr 09 '19 16:04 eblabs

https://www.youtube.com/watch?v=axekv9D3ID0

Hi,

I just made a quick video showing how I setup the Input System in a new Unity Project. I couldnt get it working and had several errors, but please let me know if Im missing anything!

Steps I took:

  • create new project
  • get latest Input System from the package manager
  • copy in the Assets from the repo
  • this is where I start to run into problems.

Thanks,

Eric

eblabs avatar Apr 10 '19 04:04 eblabs

You need to restart the editor for input to work. It mentions it in the dialog that popped up but it's hardly ideal. It should just force a restart automatically if you click "Okay". Something to improve.

As for the import errors, we'll have a look. Not sure what's happening there.

Rene-Damm avatar Apr 10 '19 11:04 Rene-Damm

Thanks Rene-Damm.

I went back and tried restarting before importing the assets and then restarting again after. Unfortunately, the same error messages came up and I wasn't able to get anything to run.

I also deleted the Tests folder, that cleared up a few errors, but still had issues with the SimpleDemo scene.

Thanks for any more ideas!!

eblabs avatar Apr 10 '19 16:04 eblabs

The 0.2.6-preview update breaks InputAction asset from previous versions sometimes. One way to fix it is to find the SimpleControl.inputaction asset in the SimpleDemo folder. Open it with any text editing tool, like Notepad, then add an empty line at the very beginning of the file. Then you can drag and drop the SimpleControl file into the script again. Hope this helps.

JiaUnity avatar Apr 11 '19 18:04 JiaUnity

Thanks @JiaUnity, that was the trick, the demo asset imported successfully. I'll test it more thoroughly and reply back. Thanks again!!

eblabs avatar Apr 11 '19 20:04 eblabs

I'm pretty sure the root of the problem causing the errors here is #555. The fact that editing the file fixes the problem is that it triggers a reimport. Manually triggering a reimport from inside Unity using the right-click menu should similarly do the trick.

Rene-Damm avatar Apr 22 '19 10:04 Rene-Damm

Looks like there have been many updates to the demo scene files and Im up and running as well. Thanks for everyone's help! Closing :)

eblabs avatar May 31 '19 05:05 eblabs