Skip to content

Invalid unity property in package.json #2

@Sargnec

Description

@Sargnec

I tried adding this package via the Unity Package Manager but got the following error. The error states that "6000.0" is not a valid Unity version, as it expects a . format (e.g., "2021.3").

[Package Manager Window] Error adding package: https://github.com/justinpbarnett/unity-mcp.git.
Unable to add package [https://github.com/justinpbarnett/unity-mcp.git]:
  Manifest [C:\Users\pc\My project\Library\PackageCache\com.justinpbarnett.unity-mcp@8860a7317c\package.json] is invalid:
    '6000.0' is not a valid `unity` property value. Expected '<year>.<version>'.
0x00007ff756112d3d (Unity) StackWalker::GetCurrentCallstack
0x00007ff756117e09 (Unity) StackWalker::ShowCallstack
0x00007ff7570e3141 (Unity) GetStacktrace
0x00007ff75779a20e (Unity) DebugStringToFile
0x00007ff75509d128 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001935f0e0d33 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001935f0e0c6b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001935f0e09f0 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001935f0e08b5 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001935f0e071b (Mono JIT Code) UnityEditor.PackageManager.UI.Internal.UpmBaseOperation`1<T_REF>:OnError (UnityEditor.PackageManager.UI.Internal.UIError)
0x00000193f762a113 (Mono JIT Code) UnityEditor.PackageManager.UI.Internal.UpmBaseOperation`1<T_REF>:Progress ()
0x00000193f76263a0 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
0x000001931adc8de5 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007ffdc5104b6e (mono-2.0-bdwgc) mono_jit_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/mini/mini-runtime.c:3445)
0x00007ffdc503d1f4 (mono-2.0-bdwgc) do_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3066)
0x00007ffdc503d36c (mono-2.0-bdwgc) mono_runtime_invoke (at C:/build/output/Unity-Technologies/mono/mono/metadata/object.c:3113)
0x00007ff75602cb34 (Unity) scripting_method_invoke
0x00007ff75600b0d4 (Unity) ScriptingInvocation::Invoke
0x00007ff756005ce5 (Unity) ScriptingInvocation::Invoke<void>
0x00007ff75615294b (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions
0x00007ff756b526ca (Unity) SceneTracker::Update
0x00007ff756c76be9 (Unity) Application::TickTimer
0x00007ff7570e9a8a (Unity) MainMessageLoop
0x00007ff7570ef320 (Unity) WinMain
0x00007ff7584cc61e (Unity) __scrt_common_main_seh
0x00007ffe7121e8d7 (KERNEL32) BaseThreadInitThunk
0x00007ffe7299bf6c (ntdll) RtlUserThreadStart

Metadata

Metadata

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