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. Dismiss Notice

Graphic content not loading when testing on IOS simulator

Discussion in 'iOS and tvOS' started by pKallv, Dec 25, 2014.

  1. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    I am testing Unity3D by creating a simple card game. I am now for the first time testing to build for IOS and all looks good in the simulator except that my main game objects, the cards, are not loading? It looks like all other content, like icons, is loaded correctly. As this is a testing exercise i do have graphics in the folders that are not actually used in the testing game.

    I have no idea why this is happening and how to solve it, i really need the card objects :) I have been looking around but found no answer i understand. Would be very grateful if someone could help me out and give me a hint why this is happening and how to solve it.

    I do not know if it is needed but here is the output from XCODE:

    Code (csharp):
    1.  
    2. 2014-12-25 10:27:17.041 ProductName[6791:104969] -> registered mono modules 0xe08320
    3.  
    4. -> applicationDidFinishLaunching()
    5.  
    6. Mono path[0] = '/Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed'
    7.  
    8. Mono config path = '/Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed'
    9.  
    10. PlayerConnection initialized from /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data (debug = 0)
    11.  
    12. PlayerConnection initialized network socket : 0.0.0.0 55000
    13.  
    14. Multi-casting "[IP] 10.0.1.56 [Port] 55000 [Flags] 3 [Guid] 632824958 [EditorId] 1881321028 [Version] 1048832 [Id] iPhonePlayer(Peters-MacBook-Pro-2.local):56000 [Debug] 1" to [225.0.0.222:54997]...
    15.  
    16. Waiting for connection from host on [10.0.1.56:55000]...
    17.  
    18. Timed out. Continuing without host connection.
    19.  
    20. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56000
    21.  
    22. PlayerConnection already initialized - listening to [10.0.1.56:55000]
    23.  
    24. 2014-12-25 10:27:22.262 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    25.  
    26.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    27.  
    28. 2014-12-25 10:27:22.262 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    29.  
    30. 2014-12-25 10:27:22.263 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    31.  
    32.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    33.  
    34. 2014-12-25 10:27:22.263 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    35.  
    36. 2014-12-25 10:27:22.263 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    37.  
    38.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    39.  
    40. 2014-12-25 10:27:22.273 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    41.  
    42. 2014-12-25 10:27:22.274 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    43.  
    44.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    45.  
    46. 2014-12-25 10:27:22.274 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    47.  
    48. 2014-12-25 10:27:22.274 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    49.  
    50.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    51.  
    52. 2014-12-25 10:27:22.275 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    53.  
    54. 2014-12-25 10:27:22.275 ProductName[6791:104969] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
    55.  
    56.     /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
    57.  
    58. 2014-12-25 10:27:22.275 ProductName[6791:104969] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x78773910 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
    59.  
    60. -> applicationDidBecomeActive()
    61.  
    62. Requesting Resolution: 768x1024
    63.  
    64. Renderer: Apple Software Renderer
    65.  
    66. Vendor:   Apple Inc.
    67.  
    68. Version:  OpenGL ES 2.0 APPLE-10.1.5
    69.  
    70. GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_comp
    71.  
    72. ression_pvrtc
    73.  
    74. Creating OpenGLES2.0 graphics device
    75.  
    76. Initialize engine version: 4.6.1f1 (d1db7a1b5196)
    77.  
    78. Begin MonoManager ReloadAssembly
    79.  
    80. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/UnityEngine.dll (this message is harmless)
    81.  
    82. Loading /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/UnityEngine.dll into Unity Child Domain
    83.  
    84. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/Assembly-CSharp.dll (this message is harmless)
    85.  
    86. Loading /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
    87.  
    88. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/Assembly-UnityScript.dll (this message is harmless)
    89.  
    90. Loading /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/Assembly-UnityScript.dll into Unity Child Domain
    91.  
    92. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/UnityEngine.UI.dll (this message is harmless)
    93.  
    94. Loading /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/UnityEngine.UI.dll into Unity Child Domain
    95.  
    96. - Completed reload, in  0.011 seconds
    97.  
    98. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/System.Core.dll (this message is harmless)
    99.  
    100. Platform assembly: /Users/PeterK/Library/Developer/CoreSimulator/Devices/7E6293AA-2882-441F-9109-F2F66672910C/data/Containers/Bundle/Application/916E3424-135D-47D1-95F7-D45EAAB250F4/ProductName.app/Data/Managed/System.dll (this message is harmless)
    101.  
    Update: The objects that are prefabs and not loaded is not placed on the scene pre-start but loaded after start it seems.
     
    Last edited: Dec 25, 2014
  2. pKallv

    pKallv

    Joined:
    Mar 2, 2014
    Posts:
    1,122
    BASIC PROBLEM SOLVED BUT STILL DO NOT UNDERSTAND
    I have solved the basic problem by finding a second PlayerPref read that i deleted. However, I still do not understand why it worked in the Editor but not in XCODE. However, i guess i have to accept it as it now works :)