Facepunch / sbox-issues

177 stars 12 forks source link

Automatically sync assets and code in editor lobbies #6569

Open DrakeFruit opened 1 month ago

DrakeFruit commented 1 month ago

What can't you do?

When testing multiplayer in the editor, you have to upload your game to sbox.game for the models to sync to other clients or even the local instance. It would be much easier if the assets placed synced both on start and in real time after start like placing props in scenebox.

How would you like it to work?

When a new instance joins, assets should be shared peer to peer or automatically uploaded to sbox.game to be downloaded on the other clients.

What have you tried?

The only fix is to upload the game privated to sbox.game every time you add a new asset, this sucks.

Additional context

No response

solwllms commented 1 month ago

This should already be happening, do you have a project/repro for it not working properly?

Nolankicks commented 1 month ago

Yeah I just store anything I mount at runtime in a net list and mount em when the player joins. Carson said it should be happening. Probably an issue with the fake local connection networking uses.

Nolankicks commented 1 month ago

https://github.com/Facepunch/sbox-issues/issues/6529

Remscar commented 1 month ago

I get this issue with ui textures, haven't tested with other asset types.