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

Package: Input System

-

-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)

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.