Hi,
I’m having issues with building my game to iOS. I keep getting the
il2cpp::vm::Method::GetParamCount: error in XCode. I checkt the issue tracker where it says this is solved but mine seem to prove the opposite. I’ve tried several combinations of the build settings (but il2cpp and universal architecture are constant) and fixed all Null reference errors in my code (actually using playmaker, but with my custom actions). I will add all the errors i get in debug mode (with symlink) (but not in release mode).
Output Error
2015-07-06 01:03:24.014 Tap4Time[704:287989] → registered mono modules 0x1ab6610
→ applicationDidFinishLaunching()
PlayerConnection initialized from /private/var/mobile/Containers/Bundle/Application/8F4C4B8B-2574-4DF7-AAC5-04BF179E3CC6/Tap4Time.app/Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55000
Multi-casting “[IP] 192.168.0.149 [Port] 55000 [Flags] 2 [Guid] 769170249 [EditorId] 3530946884 [Version] 1048832 [Id] iPhonePlayer(iPad-van-Kristin):56000 [Debug] 0” to [225.0.0.222:54997]…
→ applicationDidBecomeActive()
Requesting Resolution: 768x1024
Renderer: PowerVR SGX 543
Vendor: Imagination Technologies
Version: OpenGL ES 2.0 IMGSGX543-113.3
GLES: 2
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
ression_pvrtc
OPENGL LOG: Creating OpenGL ES 2.0 graphics device
Initialize engine version: 5.1.1f1 (2046fc06d4d8)
The resource Internal-ErrorShader.shader could not be loaded from the resource file!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp Line: 1062)
The resource Sprites-Default.mat could not be loaded from the resource file!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp Line: 1062)
The resource Soft.psd could not be loaded from the resource file!
System.InternalEnumerator`1:get_Current()
[/Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp line 1062]
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp Line: 1062)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1562)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 52 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 64 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 44 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 76 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 172 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 1652 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 36 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The referenced script on this Behaviour is missing!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Mono/MonoBehaviour.cpp Line: 1715)
A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 96 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Serialize/SerializedFile.cpp Line: 1652)
The resource Soft.psd could not be loaded from the resource file!
System.InternalEnumerator`1:get_Current()
[/Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp line 1062]
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Misc/ResourceManager.cpp Line: 1062)
(lldb)
For the record: this is a IL2CPP specific problem as the app has no issue to work on Mono.
Does anyone know what this even means because I have absolutely no knowledge on how to work in obj C.
Regards,
Cuttlefish Creations