Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Help Wanted Use unity.transport and unity-less server

Discussion in 'Multiplayer' started by mishakozlov74, Jun 8, 2021.

  1. mishakozlov74

    mishakozlov74

    Joined:
    Aug 8, 2018
    Posts:
    78
    Alright, unity transport is quite good and promising.
    But for obvious reasons server on Unity isn't the best idea.

    So is it possible to use unity transport without unity on server?
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    7,239
    This isn't that obvious for me since Unity can build headless instances especially for servers...
     
  3. mishakozlov74

    mishakozlov74

    Joined:
    Aug 8, 2018
    Posts:
    78
    Well, it's gonna be a long discussion :D

    Unity has scene-based approach. You can't have separately simulate two scenes, so you can't implement different locations. Custom interest manager may solve it, but authority is lost then. Cheaters are gonna love it.

    Unity use float for transforms, which is not really suitable for huge world. Have to implement it on double, chunk the world, so on.

    Unity on server is okay for small cooperative games when you have all the players on the same location.
    But when it comes to more advanced things, you have to re-implement almost everything, so it doesn't make much sense to use it, when you need only 1% of it's functionality.
     
  4. mishakozlov74

    mishakozlov74

    Joined:
    Aug 8, 2018
    Posts:
    78
    Nevermind, I switched to lidgren-network-gen3.
    But I still quite impressed with transport, such a pity it's not possible to use outside.
     
unityunity