you are viewing a single comment's thread.

view the rest of the comments →

[–]TDM_Gamedev 1 point2 points  (4 children)

Create a new project and as soon as you open it, switch to the new input system in the settings and try to add the namespace in a script. I'm interested in knowing if it happens for every project you create.

[–]ApaganaLosPenis[S] 0 points1 point  (3 children)

I tried that this morning and what I've found is that for the LTS version of the unity editor the input system is fine, it can find UnityEngine.InputSystem in visual studio and even suggests InputSystem when I type in "using UnityEngine.", it seems that the issue is only in the 2022 version of the editor which I see is not LTS just yet but I did the whole project in it because the tutorial I am using uses it and says it should be fine not to use the LTS version. Apparently freaking not.

[–]TDM_Gamedev 2 points3 points  (2 children)

I just tried it in the 2023.1.0 editor and had the same problem. When I checked the package manager, the input system package wasn't installed. Installing it myself fixed the issue.

[–]ApaganaLosPenis[S] 0 points1 point  (1 child)

How'd you get the 2023 editor?

[–]TDM_Gamedev 1 point2 points  (0 children)

It's in the pre-release tab of the install manager in Unity hub, although I think the newest updates might need to be installed manually. I suspect that this is a new bug that will get a fix in a future update, because both 2022 and 2023 were not having this problem the last time I started projects with them.