Shapecasting Crashing Roblox

Issue:
I’ve been experiencing a bug with WorldRoot:Spherecast(), where for some reason (possibly while creating large amounts of terrain) my roblox session (Studio and Player) will instantly crash. I’ve only been able to recreate this crash in a single roblox place, however I’ve tested around 10+ times with 100% repro rate in that place, and have confirmed I’m providing valid Origin, Direction, and Size information.

It’s important to note this doesn’t hang studio and instead will instantly crash, nor does it necessarily happen during the first Spherecast() call, and may sometimes happen after 10 or so calls in quick succession (1 per frame). This also does not happen with regular WorldRoot:Raycast()

Odd enough, ever since today I’ve only been able to get the bug to happen within the roblox player, so I wonder if an update has been pushed to Studio that hasn’t quite made it to the player?

System Information:
I’m running MacOS Ventura 13.3.1 with an Apple M2 Pro chip.

Reproduction Files
I’ve provided a repro place in the private message of this bug report.

Expected behavior

It simply just shouldn’t crash. If there’s an issue with the Spherecast it should simply error.

A private message is associated with this bug report

Thanks for the report! We’ll follow up when we have an update for you.

2 Likes

Marking as solved for now, as I’ve made no changes to the code, and it’s mysteriously fixed itself the past week.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.