Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

IL2CPP support for 2020.2b12 ?

Discussion in '2020.2 Beta' started by castor76, Nov 21, 2020.

  1. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I have installed 2020.2b12 WITH IL2CPP build add on, but after installation is completed, I can no longer see IL2CPP being installed.

    upload_2020-11-21_22-27-26.png

    This is confirmed by going to player setting and set the scripting backend to IL2CPP and the build setting says I need to install one.

    One thing I noticed is that the Unity installation felt a bit too long (longer than usual) to complete.

    Anyone with the same problem? Is this known issue?
     
  2. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I found the link to the manual il2cpp installation and installed it without problem. So my question now is :

    Is this going to be the standard way of installing il2cpp from now on? I kind liked how it was where I select option while I install Unity..
     
  3. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    415
    There probably was a download or unzip error that made the module installation fail silently. The hub could use more information for this kind of errors. I don't believe it's an intended change.
     
  4. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    574
    My installation worked fine.
     
  5. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Weird. I tried 3 times and they all failed. Installing them separately did work. Oh well, I will wait for v13 to see what happens.
     
  6. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,097
    Sounds like a Hub-related bug to me. Does it happen only with this specific version?
     
  7. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Yeah only with b12
     
  8. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Just to note, that this issue has happened for me on completely different PC as well.
     
  9. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    8,009
    Which exact component combo did you install?
     
  10. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Last edited: Nov 24, 2020
  11. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,357
    Hi @castor76,

    What's the last beta version you had before? Is b12 the first one with this issue? If you didn't try b11 yet, could you please check whether that works? Just trying to pinpoint when this started to happen.
     
  12. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    Hello @castor76 ,

    Can you specify which IL2CPP module you are installing ? (Mac Build Support or Linux Build Support) ?
    And can you check these destinations in your installs to make sure if the module is there and not being read by the editor or it's just the install that's failing :

    Code (CSharp):
    1. linux-il2cpp : "{UNITY_PATH}/PlaybackEngines/LinuxStandaloneSupport"
    2. mac-il2cpp : "{UNITY_PATH}/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport"
    If the module is there, then it's a problem with the editor detecting the module but if not, we may need your logs to investigate on why the module installs are failing. Thanks for your collaboration and sorry for the inconvenience this is causing you !
     
  13. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    B12 is the first time this is starting to happen. I used ALL previous betas before and they all installed IL2CPP without any problems.
     
  14. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    As I have stated above, I am just installing Windows versions of Unity 2020.2b12 and Windows IL2CPP module.
     
  15. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
  16. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I have to uninstall the Unity and try to install it again. :) But it takes so long to do it. A Lot longer than usual. So maybe it has to do with installation.
     
  17. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Also.. This is not directly related to the issue, but because I like Unity's attention, I have submitted a bug report for IL2CPP build failing on 14th of Nov it is still open and not being looked yet :D Just a friendly reminder.. haha
     
  18. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I am installing b13, but it "seems" like it is taking very long time again, so I am thinking, where to find the log for the installation process so I can post it here?

    Still installing. Downloading part was quick. Just installation part is taking very long time. Almost an hour now.
     
    Last edited: Nov 27, 2020
  19. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Ok After installation is completed, here is what I see. :

    1. No indication of B13 version at the Hub. Like it has never installed it.
    upload_2020-11-27_12-4-54.png
    2. Looking at the installation folder, I see it there
    upload_2020-11-27_12-4-40.png
    3. Going into the playbackEngines folder I see windowsstandalonesupport
    upload_2020-11-27_12-5-35.png

    Also
    upload_2020-11-27_12-6-1.png

    4. Tried to add it on hub manually by using search button, choosing b13 Unity.exe

    Nothing....

    5. Tried to close hub by right clicking on the hub icon but the it did not quit!
    6. Clicked on the icon to bring up hub again and now I see this error :

    upload_2020-11-27_12-8-37.png

    Indicating that there is error while installing Unity.

    7. Tried to force close hub again. This time it worked.

    8. Runs hub again, now I see the b13 being added. But without Il2cpp option
     
  20. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    My guess is that this is hub related, because there could been hub update in between going from b11 to b12... since b13 also happens.

    So it could be hub or something from b12 ?
     
  21. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,357
  22. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Here is my hub log today. Hopefully it helps.
     

    Attached Files:

    LeonhardP likes this.
  23. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    Hello @castor76
    Looking at the hub logs, actually the installation of "2020.2.0b13" failed because of
    Code (CSharp):
    1. There was an unhandled error while installing the editor, code: 'MISSING_DESTINATION',  message: 'The install destination was invalid or missing.'
    Can you check where you are installing the editor? or can you try setting an installation path yourself (in the hub settings) and check if the installation goes better.
    I saw the same error for your first installations of "2020.2.0b12", on our end the installation of both the module and the editor goes well on windows.
     
  24. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Oh. Ok. Well. Will try that on the next time. I have never ever changed the installation folder at all since the beginning of the time and b11 did install fine on both machine that has failed.

    When stuff went wrong I did check if the unity was actually installed and it actually did.. at least the main Unity when looking at the install folder. The files are there.. just didnt registered with hub at the time of the install. Which is weird.
     
  25. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    You may find the editor exe there but the install isn't finished yet (you can end up not having the "modules.json" file in the root of the editor folder for example if the install failed through the hub). I suppose all the failed installs are caused by the missing destination problem, keep us updated if you ever tried an install in another path :)
     
  26. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I just tried to install b14 at C:\Unity but the same thing happened. Install takes long time (never finish) and then it was not registered to Hub.
     
  27. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    Can you send me your logs please ?
     
  28. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I will have to try a new fresh install again but it takes very long time, so i will wait for b15 and try to remember to send the log again
     
  29. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    I just tried new 2020.2f1 version and it seems to install fine now!
     
    LeonhardP likes this.
  30. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    2,357
    Great to hear that the issue is resolved for you!
     
  31. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Will try on the other pcs to see if it is indeed working.
     
  32. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    1,984
    Tried on my other machine and it worked again, so I guess the case is closed and everything is good to go now! Hurray for 2020.2f1 !!!
     
unityunity