Skip to content

I can't see unity-mcp in my window #22

Closed

Description

@xinf19

Image

Image

Hello, after configuring the environment, my unity shows this error, and then I can't find the MCP button in my window, does anyone have the same problem

Activity

  1. cyborgshead commented on Mar 21, 2025

    @cyborgshead

    I had same issue on my windows machine with VRChat Creator Companion which creates project using Unity 2022.3.22f1
    Claude helped to fix that
    URP is currently requirement for unity-mcp

    Root Cause

    The error occurs because Unity MCP relies on Universal Render Pipeline (URP) features, but the project doesn't have URP installed or properly configured.

    Solution

    1. Install the Universal Render Pipeline package

      • Open Window > Package Manager
      • Click the "+" button and select "Add package by name"
      • Enter "com.unity.render-pipelines.universal" and add it
    2. Create the required URP assets

      • Right-click in the Project window > Create > Rendering
      • Create "URP Asset (with Universal Renderer)"
      • The system will also create a "UniversalRenderPipelineGlobalSettings" asset
    3. Configure your project to use URP

      • Go to Edit > Project Settings > Graphics
      • Drag your newly created URP Asset into the "Scriptable Render Pipeline Settings" field
    4. Restart Unity

      • After configuring URP, restart Unity to ensure all changes take effect

    This resolves the missing namespace reference that was causing the compilation error, allowing the MCP package to properly access the UnityEngine.Rendering.Universal namespace.

  2. justinpbarnett commented on Mar 21, 2025

    @justinpbarnett
    Contributor

    @xinf19 can you confirm if cyborgshead's fix works for you? It's a good callout and I need to add URP as a dependency for now, but not sure it's the right fix for your problem.

    If that fix doesn't work. Can you try removing the package from your project and re-adding the latest version. I have done an update that fixed .meta file issues. You may still get some console errors on initial install, but they should be clear-able.

  3. added
    bug
    on Mar 21, 2025
  4. xinf19 commented on Mar 21, 2025

    @xinf19
    Author

    @cyborgshead Thanks for the suggestion, I tried your method but I didn't solve the problem, thank you again for your kind help

  5. xinf19 commented on Mar 21, 2025

    @xinf19
    Author

    @justinpbarnett Hello, I found the reason, my previous version was 2021, and after I changed to unity6, these problems don't exist

  6. pigubaoza commented on Jun 11, 2025

    @pigubaoza

    @justinpbarnett is xinf19 right to say that older versions of unity is not supported? im on 2020.3.42f1 and it does not show up in my Window menu as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions