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. Dismiss Notice

New Unity installation and project project fails to build all platform targets out of the box

Discussion in 'Editor & General Support' started by emerge-sjh, Nov 23, 2020.

  1. emerge-sjh

    emerge-sjh

    Joined:
    Oct 16, 2020
    Posts:
    14
    When doing a clean installation of the Unity Editor and creating an empty project, we found that the Unity editor doesn't successfully build all the available platform builds targets out of the box.

    Test by installing the latest version of Unity 2019 LTS or 2020 with all of the available modules, creating a new project, switching to each build target in the build window and manually start a build.

    Expected behavior:
    All build targets work out of the box without having to install or download additional packages or dependencies other than the SDK for that defined platform, (that part is understandable as it is expected to have the platform SDK pre-installed on the machine and the unity editor simply need to be informed of their location).
     
  2. Din0m1te

    Din0m1te

    Joined:
    Sep 9, 2015
    Posts:
    31
    I agree. The only dependency the editor should have when building for lumin is the Lumin SDK path. But it should not require the UPM package. It shoild be up to developers whether they want to use any UPM packages or not for Lumin. Some people prefer to roll their own stuff.
     
    Last edited: Feb 6, 2021
    emerge-sjh likes this.
  3. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,683
    I would also agree. For systems implementing on an existing platform, it's fair to expect a vendor SDK to be added to enable additional functionality.

    However, Lumin is already a specific build target built and shipped with Unity. it is therefore unacceptable to then also require additional 3rd party libraries to enable a system already provided by Unity. They should be included in the Module when installing Unity.

    Either it's a vendor SDK on top of an existing platform (e.g. Standalone, UWP, Android) or its a specific build target (As Lumin is) with all the components needed to run that platform.

    For UWP, I don't need to install additional components to simply run the project in the editor, other than having a Windows 10 PR. For Android, I don't need to install additional google assets to run n the editor (and Unity also provides additional Google components in the Unity Android module when installing).

    I simply don't understand this mixed economy between different build targets.
     
    emerge-sjh likes this.
  4. emerge-sjh

    emerge-sjh

    Joined:
    Oct 16, 2020
    Posts:
    14
    Well I got a replay from the "support" team. It seems like it is designed to give error messages if you don't make additional changes to your project after installing the platform module and creating a new project.

    Personally this makes no sense to me, bc imho if one were to install the editor, and the target platform module, it should include all the required and essential items needed to make a build for said platform target.