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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

IL2CPP is so frustrating.

Discussion in 'General Discussion' started by charmandermon, Dec 6, 2015.

  1. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Edit: all my problems have been resolved and I take back everything I said. Woo Hoo!
     
    Last edited: Jan 19, 2016
    theANMATOR2b likes this.
  2. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    I think there is a lot of frustration going around at the moment, and we've all had our fair share of bugs, myself, I've had quite a few too.

    I try to look at it in the positive light that Unity is going through a transitional phase and trying to make things better for the future of the engine, and with changes comes uncertainty and instability, and we are experiencing that right now.

    All we can do is be patient, file bug reports and hope for the best.
     
    theANMATOR2b and Deleted User like this.
  3. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Thanks man appreciate your words, just sucks when trying to make a living from unity work. Unity is currently getting in the way of my creativity. I love the whole development process except the final publish roadblocks.
     
  4. Deleted User

    Deleted User

    Guest

    Bit of a catch 22 really, if they can't upgrade Mono then something has to give sooner or later. With all new software there will be growing pains.. It's not just rumblings of IL2CPP either, there's rumblings of mobile speed issues / bugs / problems with Enlighten etc.

    But exactly as @Meltdown says, they are paving the way for the future and if they don't their competition will make them look pretty limp. Some of their competition especially one particular engine has come a hell of a long way over the past two years and it is far more feature complete and advanced, whatever you may actually think of it.

    So it's nice, no it's great to see Unity evolving.. Having ease of use with raw grunt is a very enticing proposition, so give it time and reap the rewards ;)..
     
    Tomnnn, Ryiah and Nanity like this.
  5. screenname_taken

    screenname_taken

    Joined:
    Apr 8, 2013
    Posts:
    663
    I too sometimes feel like wanting mono back. But i'm still hopeful that it'll be worth it in the end since the android builds will end up using IL2CPP as well. Less stuff to maintain.
     
  6. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,614
    FWIW, we had a regression in IL2CPP build size where it effectively disabled stripping. This broke in 5.2.2p3 / 5.3.0f1, and fixes will ship in 5.2.3p3 and 5.3.0p1. So, if you were using Unity 5.2.3 to make your build and noticing that it was huge, that should be improved with the patch release that goes out this week (and in 5.2.4).
     
  7. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    My main issue now is Json.net doesn't get processed anymore and I was using it pretty heavily in the application and a few versions ago I was able to build to my phone, now it doesn't even compile.

    IL2CPP error for method 'System.Void System.Collections.Generic.IList`1::set_Item(System.Int32,T)' in assembly '/Users/Dustin/Dropbox/Personal/Projects/2014/Warp Drive/WarpDrive/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll'
    Additional information: Build a development build for more information. Sequence contains no matching element
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,507
    Did you file a bug report?
     
  9. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Yes I filed yesterday. Im willing to do anything on my end to help you guys test.

    Case 751015 IL2CPP Build Crashing
     
  10. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @charmandermon

    Thanks for submitting this bug report. We take regressions in IL2CPP very seriously, so we'll look at it soon.
     
  11. charmandermon

    charmandermon

    Joined:
    Dec 4, 2011
    Posts:
    352
    Thanks Josh I was reading about a possible solution last night, I have been using ASMX and WCF pretty heavily and had non stop issues since Apple forced 64 bit with IL2CPP, Do you recommend I throw them all out the window and do just straight Get/Post requests instead?
     
  12. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @charmandermon

    I've not heard of anyone else having problems with ASMX and WCF, but I'm also not sure how many Unity project use them. I would not recommend that you throw them out yet until we track down the cause of the problems. Unless the code that uses them is trivial to implement with Get/Post requests, doing so probably won't be worth your time.

    We should correct the problems, as anything that works with the Mono (AOT) scripting backend on should work with IL2CPP as well.
     
    charmandermon likes this.
  13. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    @Tautvydas Zilys - I second this. @charmandermon - I'm assuming you're the one I've been exchanging emails with about this issue? If not, then you're now the second user that's had these issue. IL2CPP stopped compiling for IL2CPP.

    There was originally different IL2CPP compile errors... a load of them that were all pointing to my ReflectionUtils class. As a test to workaround the issue I provided a precompiled DLL for iOS. All of the ReflectionUtils build errors in IL2CPP went away, but then the above error showed up. The above error isn't happening inside of JSON .NET, it's happening with another method, which appears to be originating from simply adding an int to a List<int> or something similar. Looks like a change in IL2CPP bombed out a bunch of compliation with generics.
     
    charmandermon likes this.
  14. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,775
    @Dustin Horne

    Thanks for the information. We'll take a look at this bug report soon then, can I'm not aware of any regression in code conversion related to generics, but there certainly seems to be something here.
     
    Dustin-Horne likes this.