How to reproduce:
- Download the attached “IN-150260-server” and take note of it’s location
- Create and open a new Unity project
- Ensure that the Assistant package is installed
- Navigate to “Project Settings → AI → Assistant MCP Extensions”
- Under “General Settings”, select “Enable MCP Tools”
- Under “Server Configuration”, open the config file
- Replace the contents with the attached “IN-150260-config” file
- Ensure that the paths within the config file match the paths on your system
- In the Project Settings window within the Editor, select “Refresh File and Servers” under “Server Configuration”
- Under “Servers”, press “Inspect” next to “union-type-repro”
- Observe the Server Status and the Server Message
Actual result: Server fails to start with “Cannot cast Newtonsoft.Json.Linq.JArray to Newtonsoft.Json.Linq.JToken.”
Expected result: Server starts and the tools are loaded successfully
Reproducible with: 2.8.0-pre.1 (6000.3.22f1), 2.18.0-pre.1 (6000.7.0a5)
Reproducible on: macOS 26.5.2 (M4 Max)
Not reproducible on: No other environments tested