Script Editor Autocomplete and Script Analysis stopped working in one game

Hi,

I’m having a problem with Roblox Studio.
Autocomplete has completely stopped working, and I also no longer get the red underlines for syntax errors (Script Analysis). This only happens inone specific game.
Autocomplete and Script Analysis work normally in all of my other games.

I’ve already tried:

  • Restarting Roblox Studio
  • Checking that Autocomplete and Script Analysis are enabled in Studio Settings
  • Confirming that the issue only affects this one game

Has anyone experienced this before or knows how to fix it?

Any help would be greatly appreciated. Thank you!

1 Like

have you checked studio logs for errors?

I checked the Studio logs, but I couldn’t find any errors related to the Script Editor, Language Server, Autocomplete, or Script Analysis.

The logs mostly contain graphics warnings, plugin widget warnings, and asset loading warnings. I couldn’t find anything indicating that the language server crashed or failed to start.

The issue still only occurs in this specific game. In all other places, Autocomplete and Script Analysis work normally.

1 Like

What, in your opinion, makes this game special?..
Like most large script files? or huge amount of scripts?..
How many warnings did you have before this started to happen?..

As a side-note:
I have not seen this before, but I find this is terrible.
I am trying to figure this out.

1 Like

Thanks for looking into this.

To answer your questions:

  • I wouldn’t consider this a very large game. It’s more of a medium-sized project, and I don’t have any unusually large script files.
  • It has a moderate number of scripts, but nothing that I think is excessive.
  • Before this happened, I didn’t notice any unusual warnings. Most of the warnings were just the usual asset or plugin warnings.

The issue started suddenly without me making any major changes. Autocomplete and Script Analysis just stopped working in this place, while they still work normally in all of my other places.

What can be related to this:

  • Workspace has these properties:
    image
    though playing with them did not introduce this behavior
  • studio has this in the settings:

    probably try to toggle it, it might take several seconds to restart

image
image
Thank you very much!

Disabling Enable Script Analysis made Autocomplete start working again.

However, if I enable Script Analysis again, Autocomplete stops working. After that, even if I disable it again, Autocomplete sometimes still doesn’t work, so the behavior seems inconsistent.

Also, syntax error underlines (the red squiggly lines) are no longer appearing.