Search Unity

Command line building troubles.

Discussion in 'Editor & General Support' started by Evorowy, Aug 13, 2019.

  1. Evorowy

    Evorowy

    Joined:
    Dec 27, 2018
    Posts:
    5
    Hello!

    While building normally (via File -> Build) my application size is 42 MB and is working as intended.

    However, whenever I want to create CI process, I have to use BuildPipeline.BuildPlayer, which produces 1MB smaller binary, resulting in not working graphics in target device. (i firstly recalled if it is connected with -nographics flag, but it isn't.)

    As I recall, maybe there are some troubles with settings? However I have only "LZ4HC" checked in Edit Build Options Window in Unity.
    Play Settings should be properly "applied" in every method, do I skip them as probable cause.

    Kind regards.
     
  2. Evorowy

    Evorowy

    Joined:
    Dec 27, 2018
    Posts:
    5
    App is build properly only if I have unity editor normally (with gui) opened. If I use any form of "hidden" unity editor it produces app without graphics (models are invisible/looks like broken game object).

    I'm using Unity version 2019.2.0f1.

    What can I do now?
     
    Last edited: Aug 13, 2019
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,281