I generated 3D things in Python. Let’s say I want to create a Python server that will generate a map for instance.
How to receive this map in Unity and render it ? What 3D format to use, how to receive those data with Unity and then render them?
Can I create a multiplayer game where player wait for the map to be generated on the server side and then streamed into their computers and rendered in Unity ? How to do this properly ?
The Unity networking doc says that strings can be send through Rpcs. So I see no reason that you could not create an entire map on your server, then serialize it and send it to the clients using an Rpc.
If you can figure out how to do all of this locally, it should be a trivial task to get it to work across a network. The generation of the map sounds significantly more difficult than sending it to your clients.
Depending on the size of the data the OP would be sending, the only issue with this I see is if it exceeds the max message size. For the default channel, it is really small, like 1.5kb or so. For a custom channel set to one of the fragmented modes, its something like 65kb. Beyond that and you’d need to write your own message fragmentation system.