Search Issue Tracker
Fixed in 1.0.X
Votes
0
Found in [Package]
0.9
Issue ID
1174421
Regression
No
Can't build Linux Standalone due to error
-e: building stops with the following error:
--Packages\com.unity.inputsystem\InputSystem\InputSystem.cs(2148,13): error CS0103: The name 'Switch' does not exist in the current context
-repro:
--open latest input project
--try to build the tanks demo for Linux Standalone (tested with Windows editor)
--NOTICE building stops with an error
--related github issue https://github.com/Unity-Technologies/InputSystem/issues/733
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
- [iOS] Frame Debugger rendering output doesn't work with iOS builds
- [iOS] ScrollView does not work when using the mouse wheel
FernandoSobralNobrega
Feb 27, 2026 15:51
Confirmed that "The type or namespace name 'Switch' does not exist in the namespace 'UnityEngine.InputSystem' (are you missing an assembly reference?)" still happens when building Addressables (which happens when building the game itself) for Linux and for Web on a Windows machine.