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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Can't Access UnityEngine.InputSystem.UI

Discussion in 'Input System' started by AcIdSaMa, Apr 15, 2022.

  1. AcIdSaMa

    AcIdSaMa

    Joined:
    Dec 5, 2012
    Posts:
    16
    Seen another post on the issue I'm having but no solution was made on this. Plus that thread is 2 years old so I figured I might as well make a new thread.

    upload_2022-4-14_19-8-42.png

    As you can see this file is grayed out

    If I remove #if PACKAGE_DOCS_GENERATION || UNITY_INPUT_SYSTEM_ENABLE_UI this file is no longer grayed out.

    I have tried removing and redownloading the input system package, download different versions of VS Code Editor and VS Editor then Regenerate Package files. None of this has worked, I have even tested this in barebones projects and it works their but not within my main project.

    It's a large project I really hope I don't to delete my library folder to even see if this would fix the issue.

    All else fails I guess I'll have to just move the input system to my assets folder and remove this problematic line.
     
  2. AcIdSaMa

    AcIdSaMa

    Joined:
    Dec 5, 2012
    Posts:
    16
    I feel dumb now just set your VS to Debug and it will work.., a mod can mark this solved or just delete this thread your decision.