Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Pls attempt a "hello world" IL2CPP compile before the other stuff

Discussion in '2018.3 Beta' started by MrLucid72, Oct 17, 2018.

  1. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    983
    Most of the issues come at the VERY end, if issues arise: And most of these are detected within seconds.

    For example, il2cpp:

    At the very beginning of building your game, it should do a hello world il2cpp compile to test for errors BEFORE waiting for everything else. Il2cpp isn't the only thing that can do this: There are tons of errors that are only detected at the end that could easily be tested at the beginning.

    TL;DR: Please include some integrity checks (especially with il2cpp) BEFORE the lengthy, main compile.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,670
    While this doesn't solve your problem, if you get to IL2CPP compilation part and that fails, you can check "Script only build" in the build window and that will skip building data files. That should speed up your iteration time.
     
    hippocoder, MrLucid72 and MD_Reptile like this.
  3. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    983
    Oh wow, what an awesome feature!! I have a post-compile script that is very difficult to test (before this tip, rather) that this tip would help, too. Thank you!!!