InputSystem Integration - NullReferenceException SOLVED

Respaekt

New member
Hi all,

using LTS 2021.3.16 with UCC 3.0.4 and UIS 1.2.12. with integration. Wanted to use the inputsystem with Atlas, but getting some NullReferenceException errors.
I followed the input system integration documentation: installed input system and imported the integration. Added and deleted, referenced the necessary scripts.
But getting this on Play:


NullRef.png
i am not quite sure what the problem could be?! (I set the Player Input in the PlayerInputProxy to the UnityInputSystem that sits on the AtlasInput Gameobject, the documentation ended the sentence there without specifying it)

Thanks a lot.
 
Solved this. The PlayerInput component needs to go on the AtlasInput Gameobject and be there with the UnityInputSystem component.

Two things to take away for the input system integration documentation:
- specify point 6: "Add the PlayerInput component to your character" will only work if you put it under the GameObject that is named after your character followed by “Input”, for example “AtlasInput
- finish the sentence under point 7
 
Top