Table keys using Vector3 datatypes are converted to strings when sent over the network via RemoteEvent

Reproduction Steps
Create a table on the server with a key marked as a Vector3.
T = {}
T[Vector3.new()] = true
Send to client.
Vector3Bug.rbxl (35.5 KB)

Expected Behavior
Client reports a Vector3 datatype rather than string.

Actual Behavior
Client receives a string datatype.

Issue Area: Engine
Issue Type: Other
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2022-02-18 12:02:00 (-05:00)

This is working as intended:

You can’t send non-string indices over remotes without it being converted.

Disappointing.
I had the intentions of using this for data compression.

1 Like

Perhaps you can serialize them and deserialize them?

I had already used table serialization prior to this, I had the intention of sending decimal data for particle physics, which table serialization would just lose accuracy.