Luau ran into an unexpected error and will not type check issue persists


I have deleted all local appdata, completely reinstalled Roblox Studio, and have even resorted to attempts with modding with Roblox Studio Mod Manager (In an isolated test, of course). None have seemed to work.

Direct Links: None provided, this affects all places I enter
local files aren’t consistent with this issue, but it occurs most of the time?

Beta Features: Not listed, tested with all beta features both enabled and disabled at once (and extra tests enabling/disabling New Luau Type Solver with other beta features)

AMD Ryzen 7 1700X Eight-Core Processor, 64GB Memory, AMD Radeon RX 6750 XT

Expected behavior

I expect to open up studio and use the built in script editor regardless of which type solver I use

This isn’t the place for satirical jokes.


@NotBlackrus

You’ll need to change the workspace.UseNewLuauTypeSolver property to disable the new solver, as it’s been moved out of beta.

This commonly occurs with large codebases that were typed with the old solver (which has quite a few differences), if you can narrow down which script is causing it, please provide its source (if it’s confidential, send it to Logs / crash dumps / other bug files - Developer Forum | Roblox).

Setting aside the entirely off-topic debate about the name of the programming language (which is Luau, not Lua, as the majority of Luau programs would not even parse in Lua), you’re experiencing an internal compiler error in the ColdFusion library. If you can attach a reproducing place file, minimized or otherwise, to the post in private, we can take a look at what’s causing it ultimately and resolve the issue. Without a reproduction though, there’s not a lot we can do.

2 Likes

Hi there, since we haven’t received a reproduction for this issue, there’s not much we can do to investigate it further. If you’re still experiencing the issue, feel free to open a new issue with a reproducing place file attached.