Skip to content

LSP: ERROR: Bug: Dictionary::operator[] used when there was no value for the given key, please report. #112099

@fstxz

Description

@fstxz

Tested versions

  • Not reproducible in v4.5.1.stable.official [f62fdbd]
  • Reproducible in v4.6.dev.custom_build [0fdb93c]

System information

Godot v4.6.dev (0fdb93c) - Debian GNU/Linux 12 (bookworm) 12 on Wayland - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - AMD Radeon R7 360 Series (bonaire, LLVM 15.0.6, DRM 3.49, 6.1.0-40-amd64) - Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz (4 threads) - 7.69 GiB memory

Issue description

Whenever I connect to Godot's LSP, I get these two errors in the console:

ERROR: Bug: Dictionary::operator[] used when there was no value for the given key, please report.
   at: operator[] (./core/variant/dictionary.cpp:136)
ERROR: Bug: Dictionary::operator[] used when there was no value for the given key, please report.
   at: operator[] (./core/variant/dictionary.cpp:136)

I am using Zed editor with zed-gdscript extension (v0.7.0)

Steps to reproduce

  1. Open any project in Godot
  2. Connect to Godot's LSP

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions