Unity export Android at Qualcomm Snapdragon 800 above CPU probabilistic crash resolution method research

Source: Internet
Author: User

The wonderful problem on Android is really too much, start testing feedback said the game on some Android phones randomly crash, later after detailed testing found that the random flash mobile phones are equipped with the Qualcomm Snapdragon Dragon more than 800 of the CPU. And then connected to the real machine when crash the wrong log is:

Signal (SIGSEGV), Code 1 (segv_maperr), fault addr 6ed5c800

Then print out a whole bunch of memory information, and today it's probably just what you're looking for to record a solution.

But with OpenGL ES 3.0 Packaging There is no problem.

Can only say the master in the folk around a big circle is Ngui problem. http://www.tasharen.com/forum/index.php?topic=8415.msg48493#msg48493

The latest version of this issue Ngui has been revised, but have done Ngui know, especially like the fast-on-line project can not be upgraded anyway, because the upgrade of the whole project will be a variety of wonderful problems ... We are also holding a try to change the mentality.

My current version of Ngui is 3.5.3 there is a possibility that several versions of Ngui are present in this issue.

Find the UIDrawCall.cs class in your Ngui. As shown, on the left is the latest version of Ngui, and on the right is my current version, when the Android platform does not execute the next line of code.

123 #if! Unity_androidIf (! trim && Span class= "Crayon-sy" > (verts. Size << 1< Span class= "Crayon-sy" >) < verts. Buffer. Length trim = true #endif

I personally think the best Ngui or upgrade. Ghosts know if there's anything else to ~~~~~.

Change from: Xuanhusung blog

(go) Unity export Android at Qualcomm Snapdragon 800 above CPU probabilistic crash resolution method research

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.