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

(SOLVED) failing to build with il2CPP !!

Discussion in '2019.3 Beta' started by Davood_Kharmanzar, Sep 5, 2019.

  1. Davood_Kharmanzar

    Davood_Kharmanzar

    Joined:
    Sep 20, 2017
    Posts:
    411
    i'm failing to build with il2CPP !!

    and got these errors:
    Capture.PNG

    so, howto fix??
    i don't have any problem with 2018.4.x ... [il2CPP for PC and Android works perfect]
    latest version of VS2019 (16.2.3) enterprise + all of require components + SDK + win10 (19H1) enterprise

    to Reproduce:
    1- open any project [i tested on URP template project]
    2- build as il2CPP :]


    P.S: what the hell is happening on 2019.x series?!?!
    il2CPP is f****ing :|
    Android is f****ing :| [can't select min api ... so, can't build]
     
    Last edited: Sep 5, 2019
  2. Xilinnilix

    Xilinnilix

    Joined:
    Nov 19, 2018
    Posts:
    9
    Reading the log tells us that assert.h is missing. Which I think indicates you need to install the windows universal c runtime (or something similar, can't remember the name and not on Windows rn).
     
  3. Davood_Kharmanzar

    Davood_Kharmanzar

    Joined:
    Sep 20, 2017
    Posts:
    411
    @Xilinnilix
    thanks for your reply ...

    i'm using these components of VS:
    Microsoft.VisualStudio.Workload.ManagedGame
    Microsoft.VisualStudio.Workload.NativeGame
    Microsoft.VisualStudio.Component.Windows10SDK.18362
    Component.Android.SDK28
    Component.OpenJDK

    and NDKr19 from google...

    but ... i'm facing to these problems on 2019.x series!!
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    You need these additional components:

    Microsoft.VisualStudio.Workload.NativeDesktop
    Microsoft.VisualStudio.Component.VC.Tools.x86.x64
    Microsoft.VisualStudio.Component.Windows10SDK.18362.Desktop

    I've no idea how it can work on old version of Unity with such an incomplete VS installation.
     
    Davood_Kharmanzar likes this.