4.6 iOS 64-bit beta

Discussion in 'iOS Development' started by jonas echterhoff, Jan 12, 2015 at 10:08 AM.

  1. jonas echterhoff

    jonas echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Messages:
    611
    We posted Unity 5.0 b19 in the Unity 5 Pre-Order Beta forum today for 5.0 pre-order customers. This build added iOS il2cpp and 64-bit support.

    As we wrote before, we are also committed to bringing iOS il2cpp and 64-bit support back to Unity 4.6. So, here is the first public beta release (designated #2, #1 was a private beta only) of Unity 4.6 with iOS 64 support.

    Please make sure you test this with us on projects you are currently developing or have on the appstore today; as per the Apple announcements, 64-bit support will be required for new apps starting the 1st of February 2015 and for that you will need to build with ARM64 and thus, IL2CPP support.

    This build of 4.6 does not yet support Metal, that will come in a later beta. This build is in sync on IL2CPP support with Unity 5 b19 ARM64 build and is for the rest roughly equivalent to the latest 4.6 patch release build.

    For more context about that that means; we've recently blogged about ios and ARM64 here; and we've got an in depth post on our strategy with IL2CPP here.
    This build is early beta quality, with known issues, but we wanted to start getting builds out to you and see / hear how your project is doing on IL2CPP.


    Some notes on work in progress / current state of this build.

    • To enable IL2CPP and ARM64 support you should switch scripting backend to "IL2CPP" in the Player Settings/iOS tab.
    • Build times are much longer, we are working on this.
    • Build sizes are currently bigger than with Mono, we are working on this, but note that shipping a universal build will always be bigger due to the fact it ships both a 32bit and 64bit executable.
    • This build is intended for iOS IL2CPP testing only, other platforms might not work as well as on general Unity 4.6 patch release builds.
    • There is known issue that uGUI input fields won't work with touch keyboards. Fix is on the way
    • There is a known issue with codegeneration for marshalling of array of structs for pinvokes. If your project does this, it will fail to compile. This will be fixed in the next build.
    Things we haven't implemented yet;

    • WebRequest API is not yet supported with IL2CPP, we are working on it.
    • iOS simulator builds are not supported with IL2CPP backend, we are working on it.
    • Managed code debugger is in progress, but won't be available for initial release. For quite some time you would need to rely on Xcode debugger, which is now easier to use than with Mono scripting backend. If you need to debug managed code and rely on Monodevelop, you might consider switching back to mono backend for this task.
    Please do note that Prime31 plugins are supposed to work with an updated version from those plugins by Prime31. Other plugins might or might not; we'd love to hear about those you are using that aren't working correctly.

    Download and test!

    You can download latest build here:

    http://beta.unity3d.com/download/4933178406/download.html

    Please test your projects with this build and post feedback bugs for any issues you find. Please post case numbers of bugs specific to this build in this thread so we have a fast path for finding and verifying reports.

    Kind Regards,
    The iOS & IL2CPP team.
     
    Last edited: Jan 12, 2015 at 12:22 PM
    digibawb and Josh Naylor like this.
  2. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Messages:
    772
    Thank you Jonas, I will give this a test, I guess best test is also to see if I can upload build to Apple and confirm the game working on, will pass Apple submission process without any issues.

    I look forward to this:
    There is known issue that uGUI input fields won't work with touch keyboards. Fix is on the way
    This is a blocker for myself as using uGUI in the game often have fields where user needs to enter name of save file, character name, just things like this.

    So I will wait for this before submitting game to Apple using the beta build

    Cheers
     
    Last edited: Jan 12, 2015 at 11:03 AM
  3. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Messages:
    772
    One other thing, this build is based on 4.6.1 final? or includes some patch releases with it?
     
  4. jonas echterhoff

    jonas echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Messages:
    611
    From the original post:

     
    MrEsquire likes this.
  5. Funny Face

    Funny Face

    Joined:
    Nov 6, 2013
    Messages:
    3
    • WebRequest API is not yet supported with IL2CPP, we are working on it.
    Any ETA for WWW implementation? Because our game heavily depends on this.
    Thank you.
     
  6. ljmeijer

    ljmeijer

    Unity Technologies

    Joined:
    Nov 26, 2012
    Messages:
    17
    UnityEngine.WWW works fine. System.Net.WebRequest support is pending. (Actually I think it already works if you talk to a webserver that sends data non compressed, but it currently fails if the server decides to send gzipped response)