Roblox Studio crashes when clicking "Play (F5)"

Visual Aids

Direct Links

System Information
CPU

12th Gen Intel(R) Core(TM) i7-12700F

Base speed:	2.10 GHz
Sockets:	1
Cores:	12
Logical processors:	20
Virtualization:	Enabled
L1 cache:	1.0 MB
L2 cache:	12.0 MB
L3 cache:	25.0 MB

Memory

32.0 GB

Speed:	3200 MHz
Slots used:	4 of 4
Form factor:	DIMM
Hardware reserved:	187 MB

Disk 0 (C:)

MSI M371 1TB

Capacity:	932 GB
Formatted:	932 GB
System disk:	Yes
Page file:	Yes
Type:	SSD

GPU 0

NVIDIA GeForce RTX 4060 Ti

Driver version:	31.0.15.4633
Driver date:	12/6/2023
DirectX version:	12 (FL 12.1)
Physical location:	PCI bus 1, device 0, function 0

Beta Features:

Assistant Preview
Dragger QoL Improvements
Faster Play Solo
Luau Native Code
Material Generator
New Audio API
Notched Screen Support
Path2D Instance
Updated Docking System
Updated Roblox Controls
Upgrade Shorelines

Reproduction files:

(Uploaded in staff only field)

Expected behavior

Playtest runs normally without crashing.

A private message is associated with this bug report

1 Like

Does this still happen with beta features disabled?

Yes, this does happen when the beta features are disabled.

I did some more testing (with all plugins and beta features off) and found that any time I require the ScriptingService moudlescript, and the modulescript has code in it, it crashes. If the module script is left blank/just commented out, it works fine (but returns an error since there is no code in the modulescript.

Edit: Restarted my PC, and did a clean installation of studio and I still encounter this bug.

Edit 2: I copied the script contents into a new modulescript and named it “Scripting” and as of now everything works. It breaks again if I move it to the old modulescript/name it ScriptingService