Actor:SendMessage() does not specify that mixed keys will be dropped

Currently, as of 7/14/23, the Actor:SendMessage() documentation is missing a critical piece of information. Currently, it does not specify that tables with mixed keys that are passed in SendMessage will be altered, with some keys being dropped. This is because SendMessage serializes the data that you give it, just like with Remote* instances.

Page URL: https://create.roblox.com/docs/reference/engine/classes/Actor#SendMessage

1 Like

Thanks for the report; We’ll follow up when we have an update for you.

1 Like

Hi @Noble_Draconian, sorry for the late reply.

The behavior regarding tables is essentially the same whenever Luau tables are converted into a generic table accepted by our engine API’s. We have some documentation about table conversion rules here:

Ideally I think we should have some common documentation for these limitations so that each API that accepts a table doesn’t need to reiterate the limitations. (Although it might not hurt to link to some sort of common documentation discussing the issue.)

1 Like