AngryAnt/Behave-release — Issue #37: Unity Pro 3.5.0f5 + Behave 1.4 + iOS Build = 'Failed to load AOT module ... /Behave.dll.dylib"
Author: arkanoid87
Created: 2012-02-17 13:25:16+00:00
State: open

After updating to Unity from 3.4 to 3.5 and Behave from 1.3 to 1.4 I have this error + crash while launching application.

The very same configuration works without errors inside Unity Editor.

Here's the xcode console output while launching on iPad:

// ------------------------------------------------------------------------------------------------------------------------------------
GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Fri Sep 16 06:56:50 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys001
target remote-mobile /tmp/.XcodeGDBRemote-84653-41
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
[Switching to process 7171 thread 0x1c03]
[Switching to process 7171 thread 0x1c03]
sharedlibrary apply-load-rules all
2012-02-17 14:09:47.522 crazyproto[7693:707] -> registered mono modules 0xb32e30
-> applicationDidFinishLaunching()
Mono path[0] = '/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed'
Renderer: PowerVR SGX 535
Vendor: Imagination Technologies
Version: OpenGL ES 2.0 IMGSGX535-63.14.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_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_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
Creating OpenGLES2.0 graphics device
Begin MonoManager ReloadAssembly
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/UnityEngine.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Non platform assembly: /private/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/System.Core.dll (this message is harmless)
Non platform assembly: /private/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/EnemyBuild.dll (this message is harmless)
Non platform assembly: /private/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.Unity.Runtime.dll (this message is harmless)
Non platform assembly: /private/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/System.dll (this message is harmless)
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/EnemyBuild.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/EnemyBuild.dll into Unity Child Domain
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.Unity.Assets.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.Unity.Assets.dll into Unity Child Domain
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.Unity.Runtime.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.Unity.Runtime.dll into Unity Child Domain
Platform assembly: /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.dll (this message is harmless)
Loading /var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.dll into Unity Child Domain
Failed to load AOT module '/var/mobile/Applications/FA153452-B90F-4EBC-B4CE-D7493FE4CB9F/myapp.app/Data/Managed/Behave.dll.dylib' in aot-only mode.
// ------------------------------------------------------------------------------------------------------------------------------------