Raycasting on meshes fail around 2100ish studs

Reproduction Steps

Repo file contains a script that outputs the success and failure a raycasting down on a mesh at various heights. The scrolling through the output shows that the raycasts fail around 2100ish studs

Raycast_Fail.rbxl (176.9 KB)

Users of RoRender started reporting issues of meshes being ignored in November 2022


Expected Behavior

The raycast to succeed for the entire documented 5000 stud raycast limit.

Actual Behavior

Meshs are ignored by raycasts after 2100ish studs

Workaround

Limit the length of raycasts to < 2000 studs and chain multiple raycasts together until desired length is achieved.

Issue Area: Studio
Issue Type: Other
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-11-09 00:11:00 (-05:00)
Date Last Experienced: 2023-01-17 00:01:00 (-05:00)

6 Likes

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

6 Likes

We’ll be lifting the 2048 stud raycast limit on meshes.

2 Likes

We lifted it. Raycasts over 2048 studs now work with meshes and terrain, up to the usual limit of 15,000 studs.

2 Likes