iOS: Screen flashes black after the splash screen

I just recently upgraded Unity and Xcode and now suddenly when I run my game, there’s a black screen that pops up between the splash image and my first scene. (This problem wasn’t there before the update). The blackness shows up on the screen for less than a second.

It used to last ~1 second, but I managed to lower the time by removing Prime31 plugins. But I haven’t been able to remove the black flash entirely.

I’m running Unity 3.5.3, XCode 4.3.3, and my target iOS version is 3.1.3 armv6

Here’s XCode’s output during the black flash:

   2012-07-17 01:17:24.872 PuzzleJuice[1799:707] -> registered mono modules 0x8ff468
    -> applicationDidFinishLaunching()
    Mono path[0] = '/var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed'
    Renderer: PowerVR SGX 543
    Vendor:   Imagination Technologies
    Version:  OpenGL ES-CM 1.1 IMGSGX543-63.24
    GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_paletted_texture GL_OES_depth24 GL_OES_draw_texture GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_framebuffer_object GL_OES_mapbuffer GL_OES_matrix_palette GL_OES_packed_depth_stencil GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_rgb8_rgba8 GL_OES_stencil_wrap GL_OES_stencil8 GL_OES_texture_mirrored_repeat GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_APPLE_framebuffer_multisample GL_APPLE_texture_2D_limited_npot GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc 
    Creating OpenGLES1.x graphics device
    Initialize engine version: 3.5.3f3
    Begin MonoManager ReloadAssembly
    Platform assembly: /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/UnityEngine.dll (this message is harmless)
    Loading /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/UnityEngine.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
    Loading /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
    Non platform assembly: /private/var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/System.Core.dll (this message is harmless)
    Platform assembly: /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-CSharp.dll (this message is harmless)
    Loading /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-UnityScript-firstpass.dll (this message is harmless)
    Loading /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-UnityScript-firstpass.dll into Unity Child Domain
    Platform assembly: /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-UnityScript.dll (this message is harmless)
    Loading /var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
    Non platform assembly: /private/var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/UnityScript.Lang.dll (this message is harmless)
    Non platform assembly: /private/var/mobile/Applications/57FEEC18-C6D6-4586-B07C-56E66FE797A5/PuzzleJuice.app/Data/Managed/Boo.Lang.dll (this message is harmless)
    - Completed reload, in  0.082 seconds
    -> applicationDidBecomeActive()
    Finished Splash

Any ideas?

hi asherv? did you found the solution? I have the same issue after xcode/unity update. thanks

I found the solution! it works! http://forum.unity3d.com/threads/143480-Black-screen-when-loading-on-iPad

1 Answer

1

Turns out it was a problem with the Unity update and starting the game in portrait mode. Here’s the fix: http://forum.unity3d.com/threads/143480-Black-screen-when-loading-on-iPad