Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Cannot make a build in Linux because of IL2CPP

Discussion in 'Linux' started by Die_Go7, Sep 17, 2019.

  1. Die_Go7

    Die_Go7

    Joined:
    Jan 10, 2018
    Posts:
    3
    Good morning.
    I've an important trouble here. I can make Unity3d builds in Linux no more, with IL2CPP option enabled.
    Just a few weeks it was doing well. I don't understand how can this be posible.
    The error: "IL2CPP scripting backend is not supported on Linux at this time.".

    I'm on Ubuntu 18.04.3 LTS x86_64.
    Tried on Unity: 2019.2.5f1, 2019.2.0f1, 2018.3.14f1, 2018.3.3f1.

    Thanks.
     

    Attached Files:

    Last edited: Sep 17, 2019
  2. LTK

    LTK

    Joined:
    Jul 16, 2015
    Posts:
    24
    IL2CPP doesn't support on Linux, switch Scripting backend to mono to resolve your issue
     
  3. senkal_

    senkal_

    Joined:
    May 22, 2018
    Posts:
    86
    @LTK
    Is this official?
    It was working for months and now it's not?
    I was using IL2CPP in Unity 2018.x(2018.2.x) and all was working.

    Really weird.
     
  4. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476
    It was all working for us too.
     
  5. senkal_

    senkal_

    Joined:
    May 22, 2018
    Posts:
    86
    Looks like the screenshot is showing this option but for stand-alone build, right?
    @Die_Go7 do you get the same for Android platform target or it's just desktop?
     
  6. Die_Go7

    Die_Go7

    Joined:
    Jan 10, 2018
    Posts:
    3
    @senkal_ It's just on Desktop.
    I can make an APK build on Android platform with IL2CPP enabled like usually.
     
  7. Bhearus

    Bhearus

    Joined:
    Aug 17, 2013
    Posts:
    27
    Same issue, been using IL2CPP with Linux for a while now, until 2019.2.6
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    We never supported building Linux Standalone player using IL2CPP scripting backend before 2019.3.0b4. It works fine if you build for other platforms, though (Android and WebGL).
     
    LTK likes this.
  9. LTK

    LTK

    Joined:
    Jul 16, 2015
    Posts:
    24
  10. Die_Go7

    Die_Go7

    Joined:
    Jan 10, 2018
    Posts:
    3
    Thanks @Tautvydas-Zilys
    I can make IL2CPP Linux builds on Linux with the beta version 2019.3.0b4 of the editor.
    It don't allow to make Il2CPP Windows builds on Linux but at least I can continue working on Ubuntu.