Search Unity

  1. Click here to see what's on sale for the "Best of Super Sale" on the Asset Store
    Dismiss Notice
  2. We are looking for feedback on the naming of a new user research platform that we are working on.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

NetCode Headless Tiny server

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

  1. NovaEiz3

    NovaEiz3

    Joined:
    Sep 6, 2017
    Posts:
    34
    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:
    217
    @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. NovaEiz3

    NovaEiz3

    Joined:
    Sep 6, 2017
    Posts:
    34
    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.
     
unityunity