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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.