Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Path must be located in Assets/ folder error whenever trying to create input actions.

Discussion in 'Input System' started by MidniteOil, May 14, 2023.

  1. MidniteOil

    MidniteOil

    Joined:
    Sep 25, 2019
    Posts:
    338
    Greetings,

    I have a new Unity 2023.3.23f1 2D URP project. I have installed the Input System and rebuilt the backend.
    After adding a PlayerInput component and clicking Create Actions, no matter what I name it or what folder I select (even accepting the default folder Unity wants to put it in) I get this error:

    Path must be located in Assets/ folder (got: 'F:/dev/Unity Projects/Tutorials/Joust/Assets/test.inputactions')
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    I have rebooted, restarted Unity and consistently get this error.

    I have done this several times in other projects so I'm baffled.
    upload_2023-5-14_9-9-3.png

    upload_2023-5-14_9-9-15.png

    upload_2023-5-14_9-9-24.png
    Any ideas?