YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
24 stars 8 forks source link

Code Editor 2: "Language server failed to load" notification appears often when starting GM #7161

Open KormexGit opened 2 months ago

KormexGit commented 2 months ago

Description

I've been periodically having the language server for CE2 fail to load at all, with an error message in the top right of the IDE. The message disappears super fast though, so I wasn't able to screenshot it. I'm reporting this right after it happened in hopes that maybe some of the log files will show what happened, since it seems to be fairly random. What specific project I open doesn't seem to have an affect, since I've had it happen for projects that were almost entirely empty. Once it fails to load, GM has to be restarted to fix it. The issue specifically happens when the first project is opened after opening GM, loading multiple projects without closing GM does not trigger it.

Steps To Reproduce

Start GM, open up a project, and see if the language server fails to load. Close GM and repeat. When it happens seems to be random, sometimes it won't happen for dozens of starts in a row, and other times it will happen multiple times in just a few starts.

Which version of GameMaker are you reporting this issue for?

IDE v2024.800.0.602 Runtime v2024.800.0.624

Which operating system(s) are you seeing the problem on?

Windows 10.0.22631.0

2aca7b7c-03bc-4531-81ab-ccf1ad74926f

KormexGit commented 2 months ago

Had it happen again and managed to snap a screenshot before it vanished, the parts I redacted was just my account name and project name/filepath.

image

When this happens, none of the code gets colored properly, no feather tooltips appear, no autocomplete appears, no diagnostics appear, and more. Persists through loading any number of projects, only fixed by a full restart of GM itself.

KormexGit commented 2 months ago

This frequency of this issue seems to have increased, I often have to start GM 2-3 times to be able to use CE2. I also had it trigger when swapping projects, so it's not just on initial GM load.

KormexGit commented 3 weeks ago

In latest beta I haven't had this happen in the 3 days I've been using it so far