Client Crashes Due to "Bone removed while still in world array"

Reproduction Steps

No idea what’s causing the issue. It only occurs in our games with 3 or more clients present. Won’t crash with just two or one. Not a developer level error as far as I can tell.

Occurs at the start of every match here:


Expected Behavior

I expect clients not to crash at the start of every game.

Actual Behavior

Whenever the game ends and a new match begins most clients crash. Crashes only occur when there are 3 or more players in the game, 2 or less won’t result in a crash.

Almost every client crashes, until there’s 2 or fewer left, then those clients don’t crash…
Server doesn’t crash at all.

When the crash log succeeds in uploading, it outputs:

rbxCrashReason is: RBXCRASH-Bone removed while still in world array.

Here’s a video showing when the crash occurs, it’s REALLY consistent.

Issue Area: Engine
Issue Type: Crashing
Impact: Very High
Frequency: Constantly
Date First Experienced: 2022-11-14 16:11:00 (-05:00)
Date Last Experienced: 2022-11-15 00:11:00 (-05:00)

UPDATE: I’ve found and fixed the issue.

We had character models inside World model instances in a viewportframe so we could show animated characters on the UI.

If you have more than one character model inside a worldmodel, you need to specifically destroy each character BEFORE you can destroy the worldmodel or it’s parents. Otherwise the client will instantly crash.

3 Likes

I wasn’t able to recreate, the next match started perfectly fine. I checked the player count too didn’t seem to drop.

That’s because I just fixed it, I’ll update the post

1 Like

Thanks for the report. We’ll get this crash fixed so you don’t need to worry about specifically destroying each character before destroying the parents/worldmodel.

2 Likes

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