- Home /
IOS failed to launch in time error
Hello I have seen similar questions but but none of the answers worked to me. The game runs fine on my iPhone 2G when running from xcode debugger but if launched from the iphone sometimes works fine, but usually I get a failed to launch in time error.
My application first scene is an empty unity scene with a gameobject to load another scene in order to avoid loading all the stuff at first frame.
using UnityEngine; using System.Collections;
public class VD_GameInit : MonoBehaviour {
public string gameLoaderLevel;
// Use this for initialization
void Start () {
Application.LoadLevel (gameLoaderLevel);
}
}
Also I tried to reduce the dll used in my project, I use these:
Mono dependencies included in the build Mono.Security.dll System.Xml.dll System.dll mscorlib.dll Assembly-CSharp.dll
My application has a size of 93.9 mb: Textures 86.1 mb 91.7% Meshes 54.6 kb 0.1% Animations 7.1 kb 0.0% Sounds 1.1 mb 1.1% Shaders 2.0 kb 0.0% Other Assets 238.4 kb 0.2% Levels 907.0 kb 0.9% Scripts 401.4 kb 0.4% Included DLLs 4.9 mb 5.2% File headers 265.3 kb 0.3% Complete size 93.9 mb 100.0%
Is there anything I can do to reduce the time unity takes to load?
Thank You.
I Attach the crash log: Incident Identifier: 29417425-262C-4CF0-B191-7C59A551E058 CrashReporter Key: cfbfd83062fa0955f599aa8d9dd6174fb6438aee Process: nihilumbra [1111] Path: /var/mobile/Applications/684487B5-E2EA-411F-8EDD-D336B43310BD/nihilumbra.app/nihilumbra Identifier: nihilumbra Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1]
Date/Time: 2011-09-27 16:59:49.695 +0200 OS Version: iPhone OS 3.1.3 (7E18) Report Version: 104
Exception Type: 00000020 Exception Codes: 0x8badf00d Highlighted Thread: 0
Application Specific Information: com.beautifungames.nihilumbra failed to launch in time elapsed total CPU time (seconds): 19.910 (user 13.520, system 6.390), 99% CPU elapsed application CPU time (seconds): 15.840, 79% CPU
Thread 0: 0 libSystem.B.dylib 0x00003b98 pthread_mutex_lock + 216 1 nihilumbra 0x005024d4 0x1000 + 5248212 2 nihilumbra 0x004ea478 0x1000 + 5149816 3 nihilumbra 0x004b51f4 0x1000 + 4932084 4 nihilumbra 0x004b3554 0x1000 + 4924756 5 nihilumbra 0x003c0d90 0x1000 + 3931536 6 nihilumbra 0x000176a0 0x1000 + 91808 7 nihilumbra 0x00016a90 0x1000 + 88720 8 nihilumbra 0x00016750 0x1000 + 87888 9 UIKit 0x00004e88 -[UIApplication _performInitializationWithURL:sourceBundleID:] + 540 10 UIKit 0x00004a60 -[UIApplication _runWithURL:sourceBundleID:] + 576 11 UIKit 0x00055df8 -[UIApplication handleEvent:withNewEvent:] + 1516 12 UIKit 0x00055634 -[UIApplication sendEvent:] + 60 13 UIKit 0x0005508c _UIApplicationHandleEvent + 4528 14 GraphicsServices 0x000057dc PurpleEventCallback + 1044 15 CoreFoundation 0x00057524 CFRunLoopRunSpecific + 2296 16 CoreFoundation 0x00056c18 CFRunLoopRunInMode + 44 17 UIKit 0x00003c00 -[UIApplication _run] + 512 18 UIKit 0x00002228 UIApplicationMain + 960 19 nihilumbra 0x00017e94 0x1000 + 93844 20 nihilumbra 0x00016498 0x1000 + 87192
Thread 1: 0 libSystem.B.dylib 0x000014e4 semaphore_wait_signal_trap + 8 1 libSystem.B.dylib 0x000338d4 semaphore_wait_signal + 4 2 libSystem.B.dylib 0x00003c78 pthread_mutex_lock + 440 3 WebCore 0x00084314 WebTryThreadLock(bool) + 180 4 WebCore 0x00084234 WebRunLoopLock(CFRunLoopObserver*, unsigned long, void*) + 28 5 CoreFoundation 0x0000f82a _CFRunLoopDoObservers + 466 6 CoreFoundation 0x0005731c CFRunLoopRunSpecific + 1776 7 CoreFoundation 0x00056c18 CFRunLoopRunInMode + 44 8 WebCore 0x000841d4 RunWebThread(void*) + 412 9 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Thread 2: 0 libSystem.B.dylib 0x000014d8 semaphore_wait_trap + 8 1 libSystem.B.dylib 0x000338e4 semaphore_wait + 4 2 nihilumbra 0x007df8d4 0x1000 + 8251604 3 nihilumbra 0x007436e4 0x1000 + 7612132 4 nihilumbra 0x007bc4cc 0x1000 + 8107212 5 nihilumbra 0x007d7c1c 0x1000 + 8219676 6 nihilumbra 0x007f3ab4 0x1000 + 8334004 7 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Thread 3: 0 libSystem.B.dylib 0x000014d8 semaphore_wait_trap + 8 1 libSystem.B.dylib 0x000338e4 semaphore_wait + 4 2 nihilumbra 0x0057128c 0x1000 + 5702284 3 nihilumbra 0x0058c854 0x1000 + 5814356 4 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Thread 4: 0 libSystem.B.dylib 0x00001488 mach_msg_trap + 20 1 libSystem.B.dylib 0x00004064 mach_msg + 60 2 AudioToolbox 0x0010c8b0 AURemoteIO::IOThread::Entry(void*) + 96 3 AudioToolbox 0x00001eb0 CAPThread::Entry(CAPThread*) + 208 4 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Thread 5: 0 libSystem.B.dylib 0x000916f0 __semwait_signal + 24 1 libSystem.B.dylib 0x000038e6 nanosleep + 110 2 libSystem.B.dylib 0x00003868 usleep + 36 3 nihilumbra 0x00571688 0x1000 + 5703304 4 nihilumbra 0x0058c8ac 0x1000 + 5814444 5 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Thread 6: 0 libSystem.B.dylib 0x0000168c bzero + 84 1 nihilumbra 0x0056f604 0x1000 + 5694980 2 nihilumbra 0x0056f844 0x1000 + 5695556 3 nihilumbra 0x00577b40 0x1000 + 5729088 4 nihilumbra 0x005843ac 0x1000 + 5780396 5 nihilumbra 0x0055ae04 0x1000 + 5611012 6 nihilumbra 0x005464f0 0x1000 + 5526768 7 nihilumbra 0x0058ab94 0x1000 + 5806996 8 nihilumbra 0x0058c524 0x1000 + 5813540 9 nihilumbra 0x00582e3c 0x1000 + 5774908 10 nihilumbra 0x00403fc4 0x1000 + 4206532 11 nihilumbra 0x003f8564 0x1000 + 4158820 12 nihilumbra 0x003f8a00 0x1000 + 4160000 13 nihilumbra 0x004ea184 0x1000 + 5149060 14 nihilumbra 0x004eb98c 0x1000 + 5155212 15 nihilumbra 0x004b4b88 0x1000 + 4930440 16 nihilumbra 0x004b4f40 0x1000 + 4931392 17 nihilumbra 0x004b4fd8 0x1000 + 4931544 18 nihilumbra 0x005026d8 0x1000 + 5248728 19 libSystem.B.dylib 0x0002b780 _pthread_body + 20
Unknown thread crashed with unknown flavor: 5, state_count: 1
Your answer
Follow this Question
Related Questions
optimizing load scene 0 Answers
How to fix this script? 1 Answer
Large level loading best practices 1 Answer
Loading many gameObjects 1 Answer
Run a complex script in the background without reducing the FPS 1 Answer