Support for List in Command and Sync variables?

Is there a way to use a List or Array of primitives (for instance List or an Array like int ) in a Command parameter or as a Sync variable?

I do not see any mention of it in the [supported types] (Supported types | SDK 1.2 | Unity Multiplayer SDK Documentation | coherence) but thought I would ask. It would be really useful.

Thanks!

This is something we’re actively discussing the implementation for, but I don’t have a timeline on it yet. Right now our recommended (albiet cumbersome) approach is to serialize the list info into a byte array to send. We realize an SDK level abstraction above this would help a lot.

1 Like