Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Mobile IL2CPP support for Android/PS4/XB1

Discussion in '5.2 Beta' started by MrEsquire, Jul 1, 2015.

  1. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Quick question:
    Will the same team who working on IL2CPP for iOS be working on Android?
    Or is it different team for all platforms?
     
  2. Alex-Lian

    Alex-Lian

    Guest

    Yes and yes.

    The core team working on IL2CPP is still working on IL2CPP base.
    The platform specific pieces though are being handled via the various platform teams.
     
  3. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    What are the benefits for these platforms?
    Right now not much information apart from overview
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,445
    Short term: Better performance, startup times.
    Long term: When we migrate all non-standalone platforms to IL2CPP, we can finally upgrade our .NET profile.
     
  5. mh114

    mh114

    Joined:
    Nov 17, 2013
    Posts:
    294
    Android also benefits from implicit code "obfuscation" as a side-effect. :)
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,445
    Both a blessing and a curse, I'm afraid. It does make debugging harder.
     
    jashan likes this.
  7. mh114

    mh114

    Joined:
    Nov 17, 2013
    Posts:
    294
    That is true, good point.
     
  8. jashan

    jashan

    Joined:
    Mar 9, 2007
    Posts:
    3,304
    Will there be an option to still use the "traditional" approach longer term? I guess when you upgrade .NET, this probably means the old approach will be gone ... or would it be possible to have both, if I'm not using current .NET features?

    Not sure if keeping debugging easier would be worth the effort that this would probably mean but it's probably worth a consideration.
     
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,445
    We're planning to build a debugger for IL2CPP, so by the time we drop mono support for platforms, it will be equivalent or better than Mono's.

    But yes, once .NET upgrade happens, there will be no coming back to Mono on certain platforms (or even before that).
     
    Peter77 likes this.
  10. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    so there won't be any Standalone IL2CPP? like for windows?
     
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,445
    There will be, eventually. However, Standalone is the lowest priority target for IL2CPP for us today.
     
    shkar-noori likes this.
  12. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    so we will be stuck with the old mono runtime for way longer time.....
     
  13. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,606
    No - one of the reasons why Standalone is such a low priority is because it doesn't block us from upgrading Mono.
     
  14. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    For you guys <3 but for us, we can choose to use IL2CPP or not, making debugging not so bad, right? :)
     
  15. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    what i meant was we have to wait for all the other platforms to get IL2CPP, and then we can get a mono upgrade, which may take a year or so,
     
  16. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,445
    True, but that doesn't mean standalone gets to wait longer for .NET profile upgrade. All platforms will get it simultaneously.