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.
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.