Forum rules - please read before posting.

Help with Null Reference

Hi guys,

I have all inputs set. However, I can't seem to interact with hotspots in my scene.

I keep getting these errors when I press InteractionA on my gamepad.

NullReferenceException: Object reference not set to an instance of an object
AC.PlayerInput.AttemptGrab () (at Assets/AdventureCreator/Scripts/Controls/PlayerInput.cs:2168)
AC.PlayerInput.UpdateDrag () (at Assets/AdventureCreator/Scripts/Controls/PlayerInput.cs:2110)
AC.PlayerInput.UpdateInput () (at Assets/AdventureCreator/Scripts/Controls/PlayerInput.cs:780)
AC.StateHandler.Update () (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:157)

Comments

  • edited July 2024

    Thanks for the report.

    Could you share your AC/Unity versions? It looks like you're not using the latest release, so I'll need to look back and see if this has since been addressed.

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.