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

Il2cpp error when building windows standalone

Discussion in '2018.1 Beta' started by ozonex, Jan 16, 2018.

  1. ozonex

    ozonex

    Joined:
    Dec 7, 2012
    Posts:
    22
    I tried to build windows standalone using new il2cpp but i get error, even on new empty project. Tried on 2 devices one with Pro license and one with Personal but same error. I installed "Windows IL2CPP Scripting Backend" and I'm using Visual studio 2017 on Windows 10.

    I tried building with .NET 2.0 and .NET 4.6.

    "Nie mo�na odnale�� okre�lonego pliku" means "File can't be found".

     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Hi,

    do you have C++ support installed in VS2017?
     
  3. ozonex

    ozonex

    Joined:
    Dec 7, 2012
    Posts:
    22
    I just updated Visual Studio and instaled C++ support from Visual Studio installer and it works now. Thanks!

    I didn't had any issues building il2cpp for other platforms so I didn't think it can be Visual Studio issue. It should be mentioned somewhere in docs.
     
  4. krassemanne

    krassemanne

    Joined:
    Jun 27, 2015
    Posts:
    8
    I agree with that.

    It also takes far too long before those exceptions get thrown. Checking for existance of those binaries should really be one of the first things IL2CPP does.
     
    SauronDark, arthur_cottos and ozonex like this.