If generate the C# class from the input actions asset, in the Assets folder of the project. it can see the namespace UnityEngine.InputSystem. However as soon as I move that file into the Assets/Scripts directory, suddenly that namespace is not found.
Any Ideas?
I’ve tried installing/reinstalling the plugin, as well as switching my project to/from the old input system.
In my case, building and running my VR app to Oculus Quest 2 would end up removing the entry if I added it as in the steps listed above. I ended up deleting the Assembly file all together and it solved my problem. The error was appearing for an Asset that I was trying (VR Interaction Framework by BNG). Everything ran fine the first try, then I changed a few settings and the error message started appearing. As mentioned, deleting the file fixed the issue.
Hello, I have the following errors. I am not sure if this is the fix I am looking for, could you please help me/redirect me to the appropriate thread, if any ?
Assembly for Assembly Definition File ‘Packages/com.unity.inputsystem/InputSystem/Unity.InputSystem.asmdef’ will not be compiled, because it has no scripts associated with it.
Thanks for your awnser, i thought i need to edit the Unity.InputSystem.asmdef that is located in the unity system folder. The inspector window of this file is greyed out, since it is not editable. I recognized, that this makes no sense at all.
I was able to fix the problem by editing the assembly definition file of the asset, that tries to use the unityengine.inputsystem namespace. In my case it was the free asset “in-game debug console”.