Search Unity

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:
    345
    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?
     
  2. slaehrnt

    slaehrnt

    Joined:
    Sep 7, 2023
    Posts:
    1
    I had the same problem, and I solved it by moving my work environment from an external SSD to my C drive. I think it's probably a read or write permissions issue.