Error "invalid unordered_map<K, T> key" occurs after changing BasePart parent

The error “invalid unordered_map<K, T> key” happens in some weird specific case whenever i try changing the parent of a BasePart to something else. This error would also crash the client 50% of the time (Studio would either crash the moment the error happens or crash after stopping play testing, its 100% for studio either way).
The issue seems to specifically happen after trying to change the parent of some random parts that are located too deep within a table tree (i think).

Reproduction

I also got it watered down to some specific area. It specifically crashes with that error whenever you try to reparent this folder (or most of its contents at the same time).

Folder Crash on Parent.rbxm (5.5 KB)

Workaround

  • There aren’t any.

Thanks, we’re looking into this.

1 Like

Can you re-upload the rbxm? It’s showing it as private.

Folder Crash on Parent.rbxm (5.5 KB)