- Question regarding naming a main character
- Where to find authors of the articles from the Times archive?
- Wget and Python Requests fail to validate SSL certificates, but browsers don't show any warnings
- What are the new risks of using hyperconvergent systems?
- Proof of concept Meltdown/Spectre for ARM cores
- How does resolv.conf work?
- Off smell in my mead
- Should I remove settled solids prior to primary fermentation of cider?
- Recommendations for a bottle supplier
- Why might DMS become more apparent toward the end of a keg?
- How to calculate position of an object motioned by multiple forces applied on different points and not on the center of mass?
- Is it possible to obtain quasiparticle spectrum from standard Hamiltonian spectrum?
- Has the definition of “statistical mechanics” changed from its original meaning?
- Rotational Kinematics question about wheel
- Energy quantization of double symmetric square-well potential
- How to measure the average potential energy of air atoms in gravitational field?
- How can I achieve small field of view by 2 or more lenses?
- Do piezo materials change volume?
- Set Warranty Bit : Kernel help
How to transmit data structures larger than the allowed packet size?
The player avatars in my current project are rather complex and can be configured in a variety of ways. Configurations can be saved and switched between during the game, similar to e.g. an RPG where you can design and play multiple characters.
An avatar is assembled at runtime from a configuration object (that holds only the necessary information, in the form of primitives and arrays) and several prefabs. In single player mode, configuration objects are usually serialized and saved to a file.
In multiplayer, I would like players to be able to select a handful of configurations saved earlier and transmit those across the network so that each client can configure the other players' avatars locally. This would happen at the start of a match. Configurations do not change during a match, so synchronizing changes is not an issue.
However, I can't seem to find an elegant way to do this with Unity's new networking API. While not by much, the data's too big for a single packet.