Official UNITY4.6.2 released with support for 64-bit iOS

Source: Internet
Author: User
Tags benchmark

Unity4.6.2 is nowOfficially released and available for download, this is the first official version of unity to support 64-bit iOS, with the latest il2cpp technology.

download please visit:Http://unity3d.com/cn/unity/download


Il2cpp is an innovative scripting technology developed within unity. It greatly improves the performance of all scripts in the project and is perfectly compatible with the Mono-aot solution used by the current iOS build.

we can use Il2cpp to quickly port scripts to new platforms (such as WEBGL) and architecture, and ARM64 (64-bit iOS system architecture) is one of them. With Unity4.6.2, you can choose Universal to build apps that support both 32-bit and 64-bit iOS systems.

Significant performance Improvement


in the alpha and beta phases of the Il2cpp project, we benefited from the unity community feedback. Also, users who have tested 64 iOS and Il2cpp reported that using the new script at the bottom runs much faster.

Andrew Witte, for example, runs on his 32-bit iOS deviceRaytracebenchmark, get the following data:


Of course, we are most concerned about the scenario, but we can also see significant performance improvements from our benchmark tests.

The JPEG decoder written with Unityscript is run time-consuming comparison:


here is a Mandelbrot benchmark test, which is tested on the WEBGL platformThe Unity Performance Benchmarkpart of the diagram indicates a noticeable performance improvement on the il2cpp.



Open a 64-bit iOS migration tour

in this new release, your project supports Il2cpp scripts and 64-bit iOS systems with just a few mouse clicks. There are two drop-down lists under the iOS tab of the Player Settings panel: "Scripting backend" and "Architecture".


in the Scripting backend drop-down list, select Il2cpp to support the 64-bit iOS system. The default architecture uses "Universal", which means that the built app will contain ARMv7 and ARM64 two binary parts.

If your existing project contains plug-ins, you may need to upgrade them to a version that can support 64-bit iOS and il2cpp. We have partnered with Unity plugin developer Prime31 to upgrade all of their plugins to iOS64. You can download it here.

when the above steps are complete, export your project to Xcode. Note that since Il2cpp will convert the script to C + + and then import the Xcode project, you will need to set the configuration to release so that the clang compiler can optimize the il2cpp generated code to the maximum extent possible.

The setup process in Xcode 6 is as follows:


you can now run your project on the device. If architecture is set to "Universal" in player settings, the app automatically runs the appropriate code, whether it's a 32-bit or 64-bit device. You can view the details in the Unity User manualIOS 64-bit upgrade guide.

Precautions :

The Webrequest/webclient API is currently accessible but not specifically implemented. Any asynchronous sockets that need to be delegated begininvoke/endinvoke are not currently implemented. We will address this issue in a subsequent release of the patch.


  • Although other delegate methods work correctly, Begininvoke/endinvoke is not yet available. We will address this issue in a subsequent release of the patch.
  • Raknet is not yet ported to Il2cpp, if the project or third-party library references it, there is a problem. We will address this issue in a subsequent release of the patch.
  • The background will always run stripping when using Il2cpp. This may require action to prevent the use of types from being cropped.
  • If you set stripping to Micro-mscorlib, you may result in a missing type compilation error. We plan to disable this option completely when using Il2cpp in a future release.
  • Xcode compilation time is too long. The main reason is that the amount of code that needs to be compiled is too large.
  • Managed Debugger is not supported at this stage. This is already in the plan. At the same time, there are already test users who have successfully debugged script code using Xcode debugger.
  • Using the Il2cpp script to turn on the Xcode built-in profiler can cause compilation errors.


We are very aware that some of these items may cause delays in the transplant process. Since Apple announced October 20New iOS apps uploaded to the App Store must support 64-bit systems since, we also work nonstop to deal with bug feedback in a timely manner and release updates on a weekly basis at an unprecedented rate.

all relevant staff are very concerned and solve every problem as soon as possible.

If your app is already published to the app Store, we recommend that you continue to use mono to build ARMv7 to update your app. Apple said it could do so until June 1. Further advice is to start using il2cpp as soon as possible to carry out a beta on your project.

we will continue to publish a new version every week and you canHttp://unity3d.com/unity/qa/patch-releasestrack the patches released.

Additional Note: It was pointed out that the text we provided onRaytracebenchmarkSome of the tests (Xamarin.ios 7.0.2.7 LLVM/NO-LLVM) result in inaccurate results because they are the result of debug mode. So we've updated the test diagram to keep only the comparison between Mono2.6 and Il2cpp (both tested in unity).

Original title: UNITY 4.6.2 iOS 64-bit support Unity4.6.2 iOS 64-bit support
Original address: Http://blogs.unity3d.com/2015/01 ... ios-64-bit-support/
Thanks to Unity's official Chinese Community Translation team member: "Little Seven, Dezzy" contribution to this translation.

reprint Please indicate source: Unity official Chinese Community (unitychina.cn). Do not change any copyright information privately. http://forum.china.unity3d.com/thread-1524-1-1.html

Official UNITY4.6.2 released with support for 64-bit iOS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.