Timeout on request stream around async not functional

Reproduction Steps

Our game has a large map using streaming. We set the timeout property on the player:RequestStreamAroundAsync() API to 3 seconds in hopes the map loads around the player enough to not fall through the map.

Was able to capture several instances of the timeout not functioning:
RobloxPlayerBeta_GYaf4RNYrg

Here is the exact code that is running for those two screenshots:

local cf = tpPoint + Vector3.new(0, size.Y/2, 0)
local startTime = tick()
targetPlayer:RequestStreamAroundAsync(cf.p, 3)
local finishTime = tick()
print("It took:", finishTime - startTime, "seconds to teleport", tpTarget, targetPlayer)

And our streaming settings
RobloxStudioBeta_QFwkvLoHFc

Expected Behavior

The API should time out after the provided 3 seconds.

Actual Behavior

The API yields indefinitely until it is complete.

Issue Area: Engine
Issue Type: Performance
Impact: High
Frequency: Constantly

3 Likes

Thanks for the report. We’ve filed a ticket to our internal database and we’ll keep you updated on progress!

1 Like

A fix was enabled for this issue a few months ago and it should no longer occur.

2 Likes

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