Actor:AddPersistentPlayer crashes studio, client and server when called without a player

Reproduction Steps

I recommend not crashing Roblox servers with this as this could bloat any type of error tracking Roblox has set up for anybody reading this

System Information
Intel Core i9 9900K
16GB DDR5 RAM
Nvidia GeForce RTX 2080Ti

Example place: Crash on join - Roblox

Repro scripts

Instance.new("Actor"):AddPersistentPlayer()
Instance.new("Actor"):AddPersistentPlayer(workspace)

Expected Behavior

Roblox does not crash and throws an error.

Actual Behavior

Roblox crashes and does not throw any errors or exceptions.

Issue Area: Engine
Issue Type: Crashing
Impact: Low
Frequency: Very Rarely

3 Likes

Thank you for the report, we will have a fix for this.

BTW, I don’t think we even enabled this API feature (but it shouldn’t have crashed either way).

2 Likes

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

This issue was fixed. Thanks for the bug report.

2 Likes

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