VS Code Input Package Namespace

As mentioned in the other post VS Code is not able to find the InputSystem namespace by default. The solution mentioned in https://forum.unity.com/threads/unityengine-inputsystem-not-found.945820/ fixed the problem for me.

  1. In Unity, in your script folder create a New Assembly Definition.
  2. Add Unity.InputSystem to the list of Assembly Definition References

image

I hope this helps someone else.

1 Like

I have tried everything to fix this and still can’t get it to work. I’ve gone through the whole process of regenerating the .csproj files in the preferences, the input system is set to the new version in the player settings, I’ve uninstalled Unity/VSCode and reinstalled, and I’ve tried the above solution as well; I can’t get anything to work.

Does anyone have a different solution for this issue?

Yeah I’m stuck at this point too and can’t go any further on course without solving this problem. UnityEngine.InputSystem does not work for me therefore the functions too.

Privacy & Terms