As of version 0.617, when the simulation is paused via the Pause button in the test menu and the studio setting “Command bar operates on local state at breakpoint” is enabled, many operations in the command bar cause a crash. Everything continues as normal for about a second until Studio throws the “unexpected error” message and freezes up. Breakpoints and RunService
methods are not affected.
So far I’ve reproduced the issue with the following operations:
- Any method, global (
print(...)
,getmetatable(...)
) or not (task.wait(...)
,buffer.create(...)
) -
type()
andtypeof()
(outside type declarations) -
local var = ...
(crashed with userdata (instances, enums etc), Vector3,_G
, constants (math.huge
), interpolated strings) -
var = ...
(global, seems to always crash instead) -
pairs()
andipairs()
(generalised iteration still works)
Keywords appear to work; the following code sample if true then repeat break until true export type a = number for i = 1, 10 or 5 do continue end return end
doesn’t seem to cause a crash. Syntax errors and type annotations/casts also don’t seem to cause crashes either.
No beta features or plugins were enabled for any of these tests.
Repro
- Open any place
- Turn on the setting “Command bar operates on local state at breakpoint”
- Run the game (play and run don’t seem to matter)
- Try doing some stuff in the command bar, studio should crash on some operations
A private message is associated with this bug report