Search Unity

  1. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice

NetCode Headless Tiny server

Discussion in 'Project Tiny' started by NovaEiz, Mar 31, 2020.

  1. NovaEiz

    NovaEiz

    Joined:
    Sep 6, 2017
    Posts:
    36
    Hi!

    Please answer the following questions:

    1. How can I compile NetCode in Tiny?
    When compiling, it returns an error in " unity.properties".

    2. How do I compile in headless mode?

    3. How do I remove rendering from the build?
    If you remove the rendering packages, the build returns errors. Although the build scene is empty.

    Thanks!
     
    Arowx likes this.
  2. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    255
    @NovaEiz3 thanks for the questions,

    1. Right now the current netcode package doesn't work with the current release of Tiny, we are aware of this and are currently working through the issues to get working in the DOTS Runtime.

    2. Right now there is no headless mode for Tiny/DOTS Runtime. This is also something we are currently working on and hope to have more information in the near future.

    3. So this is dependent on how your projects are setup, the way the build system works is that it only pulls in the asmdef files you specifically reference and its dependencies. In order for rendering to be remove you also have to make sure that you remove anything that could depend on it which may or may not cause issues at the moment.
     
  3. NovaEiz

    NovaEiz

    Joined:
    Sep 6, 2017
    Posts:
    36
    Thank you for your answers!

    3. I understand what you're talking about.
    To try to remove rendering, I removed the rendering asm def from the connected main asm def in the Tiny3D example.
    As a result, errors occur when starting the build in the console.
    But in the build folder, rendering libraries also appear (This is not 100%, we need to try again, I forgot).

    It turns out that even if you remove the asm def rendering and compile a completely empty scene, Tiny still tries to use rendering at startup.
     
  4. optimise

    optimise

    Joined:
    Jan 22, 2014
    Posts:
    713
    Hi @andrews_unity. Any new progress for this? Currently I need DOTS Websocket at hybrid DOTS environement for Android client and Linux server.
     
  5. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    255
    @optimise at the moment we do not have WebSocket support for DOTS Netcode or the core Unity Transport and that is not on our current roadmap. Is there a reason standard sockets do not work for you ?
     
unityunity