Luau Unexpected Error "Will Not Type Check Until Studio is Restarted" Across All Scripts

After opening Studio, all scripts have this error:
TypeError: (1, 1) Luau ran into an unexpected error and will not type check until Studio is restarted.
image
This occurs in every script and results in the following issues:

  • Type checking is completely disabled
  • Autocomplete no longer functions
  • Syntax error detection is broken

Restarting Studio does not solve the issue.

System Info:

  • Windows 10 22H2
  • Roblox Studio 0.671.564.6711216

Beta features:

  • Acoustic simulation
  • Assistant preview
  • CreateAssetAsync Lua API
  • Dragger QoL Improvements
  • Haptic Effects
  • Import Queue
  • New Luau type solver
  • New Studio Camera Controls
  • Preferred Text Size Setting
  • Revamped Asset Manager
  • Studio solid modeling improvements
  • UIDragDetectors
  • Unified Lighting
  • Video Uploads

Expected behavior

I expect the issue to be fixed once Studio is restarted, or never happen in the first place.

1 Like

Hey!

Do you still encounter this error with the “New Luau type solver” beta feature disabled? The new solver isn’t at full parity with the old solver yet, so places that can be successfully type-checked in the old solver won’t necessarily be type checked correctly in the new solver.

This would still be a bug for the new solver beta feature, but turning off the beta may fix your autocomplete menu, syntax highlights, and overall type-checking experience.

Disabling the new luau type solver fixed the issue.