Skip to content

Gemini 3 Flash fails to call UnityMCP tools in VSCode Copilot Chat agent mode (HTTP, request body error) #605

@Labrador52

Description

@Labrador52

Hi,
I encountered a problem when using VSCode Copilot Chat (agent mode) with the Gemini 3 Flash model to call UnityMCP tools.

Environment:

Editor: VSCode
Copilot Chat agent mode
Model: Gemini 3 Flash (default settings)
UnityMCP: Installed and running, HTTP connection
OS: Windows
Steps to reproduce:

Start UnityMCP server (HTTP mode).
In VSCode Copilot Chat, select Gemini 3 Flash as the model.
Ask the agent to start Unity editor play mode (e.g., "Start play mode" or similar).
The request fails with the following error:
Notes:

The same operation works correctly with GPT-4.1 model.
No custom model settings, just default Gemini 3 Flash.
The goal was simply to let the agent trigger play mode in Unity.
Expected:
Gemini 3 Flash should be able to call UnityMCP tools just like GPT-4.1.

Actual:
Request fails with 400 invalid request body.

I noticed other users have reported similar issues, so I am submitting this issue to provide another example for reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions