Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Input System: Actions Not Appearing

Discussion in 'Input System' started by OhShibe, Sep 11, 2023.

  1. OhShibe

    OhShibe

    Joined:
    Jul 11, 2020
    Posts:
    2
    Hello!

    I hope this isn't one of the redundant questions, but I had a hard time finding someone with a similar problem. I'm trying to subscribe to a number of actions assigned to the Action Map called "Player" in script, however when I try to access the Action, it doesn't appear in the autocomplete. When I do try to access the name of the Action, I receive the CS1061 error.

    When I check on the suggested properties in Visual Studio, only the first three Actions are shown.
    I've attempted removing and adding the actions, closing and opening the project, etc. but I keep getting the same problem.

    View attachment 1301278
     
  2. OhShibe

    OhShibe

    Joined:
    Jul 11, 2020
    Posts:
    2
    I'm so silly. I had an old version of the C# generated class script that didn't have the updated actions and that's why the actions weren't showing.

    The actions are showing now. :oops: