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

Unity 5.1 crash on SplashScreen::Render.

Discussion in 'General Graphics' started by sunyifeng, Jul 3, 2015.

  1. sunyifeng

    sunyifeng

    Joined:
    Nov 4, 2014
    Posts:
    28
    My project with Unity 5.1.1 crashs on application start.And SplashScreen don't show, it just black. And for a little moment, it is crashing. I use logcat to trace the log, the error log is:
    Line 23409: I/Unity ( 1871): splash_mode = 2 (integer)
    Line 23411: I/Unity ( 1871): hide_status_bar = True (bool)
    Line 23413: I/Unity ( 1871): useObb = False (bool)
    Line 23415: I/Unity ( 1871): Choreographer available: Enabling VSYNC timing
    Line 23425: I/Unity ( 1871): onResume
    Line 23427: I/Unity ( 1871): windowFocusChanged: true
    Line 23429: I/ActivityManager( 741): Displayed com.qixiu.u3dtest/.UnityPlayerActivity: +418ms
    Line 23579: F/libc ( 1871): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 1900 (UnityMain)
    Line 23591: I/DEBUG ( 306): pid: 1871, tid: 1900, name: UnityMain >>> com.qixiu.u3dtest <<<
    Line 23643: I/DEBUG ( 306): #01 pc 004748d0 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (ApiGLES::DebugPushMarker(char const*)+88)
    Line 23645: I/DEBUG ( 306): #02 pc 0048363c /data/app-lib/com.qixiu.u3dtest-1/libunity.so (GfxDeviceGLES::BeginProfileEvent(char const*)+12)
    Line 23647: I/DEBUG ( 306): #03 pc 004b99c4 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (ContextGLES::BlitToCurrentFB(ContextGLES::ExternalAndroidFBO&, unsigned int, unsigned int)+72)
    Line 23649: I/DEBUG ( 306): #04 pc 004ba120 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (ContextGLES::OnPrePresentContext()+660)
    Line 23651: I/DEBUG ( 306): #05 pc 004a64d4 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (WindowContextEGL::present()+136)
    Line 23653: I/DEBUG ( 306): #06 pc 004a6430 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (ContextGLES::present()+40)
    Line 23655: I/DEBUG ( 306): #07 pc 004807cc /data/app-lib/com.qixiu.u3dtest-1/libunity.so (GfxDeviceGLES::presentFrame()+4)
    Line 23657: I/DEBUG ( 306): #08 pc 00272dfc /data/app-lib/com.qixiu.u3dtest-1/libunity.so (SplashScreen::Render(int)+608)
    Line 23659: I/DEBUG ( 306): #09 pc 00272b70 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (SplashScreen::Render(unsigned char const*, unsigned int, SplashScreen::ScaleMode, int)+148)
    Line 23661: I/DEBUG ( 306): #10 pc 004bfe50 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (UnityPlayerLoop()+1416)
    Line 23661: I/DEBUG ( 306): #10 pc 004bfe50 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (UnityPlayerLoop()+1416)
    Line 23663: I/DEBUG ( 306): #11 pc 004c49a4 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (nativeRender(_JNIEnv*, _jobject*)+172)
    Line 23727: I/DEBUG ( 306): 75cc2a34 74d2d640 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (GfxDeviceGLES::BeginProfileEvent(char const*)+16)
    Line 23731: I/DEBUG ( 306): 75cc2a3c 74d639c8 /data/app-lib/com.qixiu.u3dtest-1/libunity.so (ContextGLES::BlitToCurrentFB(ContextGLES::ExternalAndroidFBO&, unsigned int, unsigned int)+76)
    Line 24043: W/ActivityManager( 741): Force removing ActivityRecord{410d8cf8 u0 com.qixiu.u3dtest/.UnityPlayerActivity}: app died, no saved state
    Line 24045: I/WindowState( 741): WIN DEATH: Window{41e674e0 u0 com.qixiu.u3dtest/com.qixiu.u3dtest.UnityPlayerActivity}
     
  2. sunyifeng

    sunyifeng

    Joined:
    Nov 4, 2014
    Posts:
    28
    It seems that the SplashScreen::Render caused the crashing, but if build with no custom splash screen, the app crashs still. I use sumsung galaxy s4 i9508 for test, the andriod version is 4.2.2.
    When I use the andriod 4.4.2 version rom the error just gone. What is the exact cause of the crash??? Can anybody help me...
     
  3. tedlofgren

    tedlofgren

    Joined:
    Apr 16, 2015
    Posts:
    4
    Had the same problem. I solved it by unchecking "Development Build". Device was Huawei y330-u01 running Android 4.2.2.