NullReferenceException in CharacterControllerSampleScene

andarionGames

New member
Hi! I'm trying to set up the UCC with the integrations for the new input system, cinemachine and A* pathfinding. My current scene but also the demo scene CharacterControllerSampleScene cause this error the whole time during runtime:
NullReferenceException: Object reference not set to an instance of an object
Opsive.Shared.Integrations.InputSystem.UnityInputSystem.LateUpdate () (at Assets/Opsive/Shared/Runtime/Input/InputSystem/UnityInputSystem.cs:80)
What can I do to fix this? I set up my project to support both the old and new input system (since other components rely on one or the other), maybe that makes a difference?
My Unity version is 2022.3.55f1, UCC is version 3.1.3. from the Asset Store; the integrations don't seem to have version numbers?
 
Last edited:
Is Keyboard.current null? Or what is null within that exception? If Keyboard.current is null then it doesn't look like your input mapping has a keyboard setup? For that you could disable EnableCursorWithEscape.
 
Back
Top