Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Use unity.transport and unity-less server

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

  1. mishakozlov74

    mishakozlov74

    Joined:
    Aug 8, 2018
    Posts:
    116
    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:
    8,752
    This isn't that obvious for me since Unity can build headless instances especially for servers...
     
  3. mishakozlov74

    mishakozlov74

    Joined:
    Aug 8, 2018
    Posts:
    116
    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:
    116
    Nevermind, I switched to lidgren-network-gen3.
    But I still quite impressed with transport, such a pity it's not possible to use outside.