No matter what I do, I keep getting the error:
"The type or namespace ‘InputSystem’ does not exist in the namespace ‘UnityEngine’.
To summarize what I’ve already tried:
- Installed the package
- Set ‘Active Input Handling’ to the new system.
- Regenerated project files (with and without Registry packages checked)
- Toyed around in the Packages/Manifest.json
I’ve tried this on three separate versions of unity on two different computers.
I have gotten this to work in the past but nothing I’ve tried has worked this time.
If I manually add a reference to the InputSystem dll to my project visual studio stops complaining.
But the error does not go away in Unity and after closing and reopening everything the references are gone from visual studio. I assume that whatever I’ve done Unity is still not tracking those references so they get wiped out the next time project files are recreated.
I’ve scrolled through the entirety of several posts on redit, stack exchange and dev.tv but nothing so far has resolved the issue.