SDK for Unity (PC, web) / The type or namespace name Input.System does not exist
  Back to Docs

SDK for Unity (PC, web)

The type or namespace name Input.System does not exist

Issue description

The issue appears when opening the Unity editor or importing the SDK. The following error message is displayed:

Copy
Full screen
Small screen
    Assets\Xsolla\Core\InputProxy\InputProxy.NewSystem.cs(5,19): error CS0234: The type or namespace name ‘Input.System’ does not exist in the namespace ‘Unity Engine’ (are you missing an assembly reference?)
    

    The problem occurs because the Input System package is installed but not referenced in the xsolla.asmdef file.

    Issue status: Can’t be fixed on the SDK side.

    Workaround

    1. Open Unity project.
    2. Go to the Project panel and select the xsolla.asmdef file.
    3. In the Inspector panel, go to the Assembly Definition References section.
    4. Click the + icon and select Unity.InputSystem.
    Was this article helpful?
    Thank you!
    Is there anything we can improve? Message
    We’re sorry to hear that
    Please explain why this article wasn’t helpful to you. Message
    Thank you for your feedback!
    We’ll review your message and use it to help us improve your experience.
    Last updated: September 15, 2023

    Found a typo or other text error? Select the text and press Ctrl+Enter.

    Report a problem
    We always review our content. Your feedback helps us improve it.
    Provide an email so we can follow up
    Thank you for your feedback!