Skip to content

Unity Console Error: "Failed to ensure server installation: The remote server returned an error:(404) Not Found. #203

@MikeWise2718

Description

@MikeWise2718

I am getting this error in Unity at startup after installing the MCP Server (didn't see it yesterday). Interestingly the server does actually work, so the error is not that important, just irritating. And Claude Code complains about it...
I get two info messages immediately after this:

Using stored port 6402
UnityMcpBridge started on port 6402.

The details from the Error message are as follows:

Failed to ensure server installation: The remote server returned an error: (404) Not Found.
0x00007fff76e2293e (Unity) StackWalker::ShowCallstack
0x00007fff76e323d9 (Unity) PlatformStacktrace::GetStacktrace
0x00007fff78076d3e (Unity) Stacktrace::GetStacktrace
0x00007fff7861a51f (Unity) DebugStringToFile
0x00007fff75f2c598 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000025e84eac7ce (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Bindings.ManagedSpanWrapper&,intptr)
0x0000025e84eac3e3 (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000025e84eabe3b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000025e84eab35e (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000025e84eaafea (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000025e575a6c3b (Mono JIT Code) UnityMcpBridge.Editor.Helpers.ServerInstaller:EnsureServerInstalled () (at ./Library/PackageCache/com.coplaydev.unity-mcp@ff939be86be6/Editor/Helpers/ServerInstaller.cs:48)
0x0000025e575a4f33 (Mono JIT Code) UnityMcpBridge.Editor.UnityMcpBridge:Start () (at ./Library/PackageCache/com.coplaydev.unity-mcp@ff939be86be6/Editor/UnityMcpBridge.cs:94)
0x0000025e575a0d83 (Mono JIT Code) UnityMcpBridge.Editor.UnityMcpBridge:.cctor () (at ./Library/PackageCache/com.coplaydev.unity-mcp@ff939be86be6/Editor/UnityMcpBridge.cs:84)
0x0000025e575a1355 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007fff70fd6c4e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fff70f18604 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007fff70f134c5 (mono-2.0-bdwgc) mono_runtime_class_init_full (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:563)
0x00007fff70e49f47 (mono-2.0-bdwgc) ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall.c:1292)
0x00007fff70e7cadc (mono-2.0-bdwgc) ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor_raw (at C:/build/output/Unity-Technologies/mono/mono/metadata/icall-def.h:756)
0x0000025e50a46922 (Mono JIT Code) (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (intptr)
0x0000025e50a464db (Mono JIT Code) System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
0x0000025e50a33393 (Mono JIT Code) UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])
0x0000025e5d34284b (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object (object,intptr,intptr,intptr)
0x00007fff70fd6c4e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007fff70f18604 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3068)
0x00007fff70f186f0 (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3115)
0x00007fff76d4e774 (Unity) scripting_method_invoke
0x00007fff76d26683 (Unity) ScriptingInvocation::Invoke
0x00007fff76d21d85 (Unity) ScriptingInvocation::Invoke<void>
0x00007fff76e95003 (Unity) Scripting::UnityEditor::EditorAssembliesProxy::ProcessInitializeOnLoadAttributes
0x00007fff76d1d4ab (Unity) MonoManager::SetupLoadedEditorAssemblies
0x00007fff76d1491b (Unity) MonoManager::FinalizeReload
0x00007fff7821da05 (Unity) ScriptingInitializer::FinalizeReload
0x00007fff782617f1 (Unity) ImportOutOfDateAssets
0x00007fff7826a4de (Unity) RefreshInternalV2
0x00007fff78274027 (Unity) StopAssetImportingV2Internal
0x00007fff7826204f (Unity) InitialRefreshV2
0x00007fff782241ff (Unity) AssetDatabase::InitialRefresh
0x00007fff77a9dd55 (Unity) Application::InitializeProject
0x00007fff78082e23 (Unity) UnityMain
0x00007ff6bf542f2a (Unity) __scrt_common_main_seh
0x00007ff86ac1e8d7 (KERNEL32) BaseThreadInitThunk
0x00007ff86cd7c34c (ntdll) RtlUserThreadStart

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