Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

cocos2d-xna on iOS

$
0
0

Hello I have downloaded latests cocos2d-xna+MonoGamoe and GoneBananas from Github. Unfortunately game does not work on iOS (simulator and device). I have checked that with both: reference to the assemblies and reference to dll's (iOS, build with default nant script in cocos2d-xna project).

This is the Application Output (from Xamarin Studio on Mac, on Windowslooks the same):

Starting iOS simulator 7.0 Launching application Application launched. PID = 1331 Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.dll [External] Thread started: #2 Loaded assembly: /Volumes/aaa/sources/GoneBananas/GoneBananas/bin/iPhoneSimulator/Debug/GoneBananas.exe [External] Loaded assembly: /Volumes/aaa/projects/circles/libs/cocos2d/iPhone/cocos2d-xna.iOS.dll [External] Loaded assembly: /Volumes/aaa/projects/circles/libs/cocos2d/iPhone/MonoGame.Framework.dll [External] Loaded assembly: /Volumes/aaa/projects/circles/libs/cocos2d/iPhone/box2diOS.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/OpenTK.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll [External] Loaded assembly: /Volumes/aaa/projects/circles/libs/cocos2d/iPhone/Lidgren.Network.dll Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Runtime.Serialization.dll [External] Loaded assembly: /Volumes/aaa/projects/circles/libs/cocos2d/iPhone/ICSharpCode.SharpZipLib.dll [External]

Unhandled Exception: System.ExecutionEngineException: SIGILL at (wrapper managed-to-native) OpenTK.Graphics.ES20.GL/Core:DrawArrays (OpenTK.Graphics.ES20.All,int,int) at OpenTK.Graphics.ES20.GL.DrawArrays (All mode, Int32 first, Int32 count) [0x00004] in /Developer/MonoTouch/Source/monotouch/src/OpenGLES/OpenTK/Graphics/ES20.iPhone/GL.cs:1552 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserPrimitives[VertexPositionColor] (PrimitiveType primitiveType, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertexData, Int32 vertexOffset, Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00000] in :0 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserPrimitives[VertexPositionColor] (PrimitiveType primitiveType, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertexData, Int32 vertexOffset, Int32 primitiveCount) [0x00000] in :0 at Cocos2D.CCDrawManager.DrawPrimitives[VertexPositionColor] (PrimitiveType type, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertices, Int32 offset, Int32 count) [0x00000] in :0 at Cocos2D.CCLayerColor.Draw () [0x00000] in :0 at Cocos2D.CCNode.Visit () [0x00000] in :0 at Cocos2D.CCLayer.Visit () [0x00000] in :0 at Cocos2D.CCNode.Visit () [0x00000] in :0 at Cocos2D.CCDirector.DrawScene (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Cocos2D.CCDisplayLinkDirector.MainLoop (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Cocos2D.CCApplication.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.<.cctor>b__18 (IDrawable drawable, Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game+SortingFilteringCollection1[Microsoft.Xna.Framework.IDrawable].ForEachFilteredItem[GameTime] (System.Action2 action, Microsoft.Xna.Framework.GameTime userData) [0x00000] in :0 at Microsoft.Xna.Framework.Game.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.Tick () [0x00000] in :0 at Microsoft.Xna.Framework.iOSGamePlatform.Tick () [0x00000] in :0 at Microsoft.Xna.Framework.iOSGameView.DoTick () [0x00000] in :0 at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38 at GoneBananas.Application.Main (System.String[] args) [0x00008] in /Volumes/klm/sources/GoneBananas/GoneBananas/Main.cs:13 2013-12-08 18:26:38.996 GoneBananas[1331:a0b] Unhandled managed exception: SIGILL (System.ExecutionEngineException) at (wrapper managed-to-native) OpenTK.Graphics.ES20.GL/Core:DrawArrays (OpenTK.Graphics.ES20.All,int,int) at OpenTK.Graphics.ES20.GL.DrawArrays (All mode, Int32 first, Int32 count) [0x00004] in /Developer/MonoTouch/Source/monotouch/src/OpenGLES/OpenTK/Graphics/ES20.iPhone/GL.cs:1552 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserPrimitives[VertexPositionColor] (PrimitiveType primitiveType, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertexData, Int32 vertexOffset, Int32 primitiveCount, Microsoft.Xna.Framework.Graphics.VertexDeclaration vertexDeclaration) [0x00000] in :0 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawUserPrimitives[VertexPositionColor] (PrimitiveType primitiveType, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertexData, Int32 vertexOffset, Int32 primitiveCount) [0x00000] in :0 at Cocos2D.CCDrawManager.DrawPrimitives[VertexPositionColor] (PrimitiveType type, Microsoft.Xna.Framework.Graphics.VertexPositionColor[] vertices, Int32 offset, Int32 count) [0x00000] in :0 at Cocos2D.CCLayerColor.Draw () [0x00000] in :0 at Cocos2D.CCNode.Visit () [0x00000] in :0 at Cocos2D.CCLayer.Visit () [0x00000] in :0 at Cocos2D.CCNode.Visit () [0x00000] in :0 at Cocos2D.CCDirector.DrawScene (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Cocos2D.CCDisplayLinkDirector.MainLoop (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Cocos2D.CCApplication.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.<.cctor>b__18 (IDrawable drawable, Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game+SortingFilteringCollection1[Microsoft.Xna.Framework.IDrawable].ForEachFilteredItem[GameTime] (System.Action2 action, Microsoft.Xna.Framework.GameTime userData) [0x00000] in :0 at Microsoft.Xna.Framework.Game.Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in :0 at Microsoft.Xna.Framework.Game.Tick () [0x00000] in :0 at Microsoft.Xna.Framework.iOSGamePlatform.Tick () [0x00000] in :0 at Microsoft.Xna.Framework.iOSGameView.DoTick () [0x00000] in :0 at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38 at GoneBananas.Application.Main (System.String[] args) [0x00008] in /Volumes/klm/sources/GoneBananas/GoneBananas/Main.cs:13 mono-rt: Stacktrace:

mono-rt: Native stacktrace:

mono-rt: 0 GoneBananas 0x000b4d5d mono_handle_native_sigsegv + 349

mono-rt: 1 GoneBananas 0x000bfd2a sigabrt_signal_handler + 122

mono-rt: 2 libsystem_c.dylib 0x0546e8cb _sigtramp + 43

mono-rt: 3 ??? 0xffffffff 0x0 + 4294967295

mono-rt: 4 libsystem_sim_c.dylib 0x05125e12 abort + 127

mono-rt: 5 GoneBananas 0x00232023 monotouch_unhandled_exception_handler + 291

mono-rt: 6 GoneBananas 0x000b558b mono_invoke_unhandled_exception_hook + 91

mono-rt: 7 GoneBananas 0x000b45a9 mono_handle_exception_internal + 3817

mono-rt: 8 GoneBananas 0x000b36b9 mono_handle_exception + 41

mono-rt: 9 GoneBananas 0x00059ee8 handle_signal_exception + 136

mono-rt: 10 ??? 0x0e393199 0x0 + 238629273

mono-rt: 11 GLEngine 0x13356722 gleDrawArraysOrElements_ExecCore + 658

mono-rt: 12 GLEngine 0x13354146 glDrawArrays_IMM_ES2Exec + 254

mono-rt: 13 OpenGLES 0x02854b25 glDrawArrays + 57

mono-rt: 14 ??? 0x14f51ec0 0x0 + 351608512

mono-rt: 15 ??? 0x14f51e2c 0x0 + 351608364

mono-rt: 16 ??? 0x14f51998 0x0 + 351607192

mono-rt: 17 ??? 0x14f51504 0x0 + 351606020

mono-rt: 18 ??? 0x14f50108 0x0 + 351600904

mono-rt: 19 ??? 0x14f4ff18 0x0 + 351600408

mono-rt: 20 ??? 0x14f4ea54 0x0 + 351595092

mono-rt: 21 ??? 0x14f4fafc 0x0 + 351599356

mono-rt: 22 ??? 0x14f4eac2 0x0 + 351595202

mono-rt: 23 ??? 0x14f4e5f0 0x0 + 351593968

mono-rt: 24 ??? 0x14f4e4a0 0x0 + 351593632

mono-rt: 25 ??? 0x14f4d270 0x0 + 351588976

mono-rt: 26 ??? 0x14f4d1ef 0x0 + 351588847

mono-rt: 27 ??? 0x137aba1e 0x0 + 326810142

mono-rt: 28 ??? 0x14f4ce08 0x0 + 351587848

mono-rt: 29 ??? 0x14f4c858 0x0 + 351586392

mono-rt: 30 ??? 0x137aae84 0x0 + 326807172

mono-rt: 31 ??? 0x137aa2d4 0x0 + 326804180

mono-rt: 32 ??? 0x137aa1c4 0x0 + 326803908

mono-rt: 33 ??? 0x0e3b26a5 0x0 + 238757541

mono-rt: 34 GoneBananas 0x000e4686 mono_jit_runtime_invoke + 790

mono-rt: 35 GoneBananas 0x0017ea9f mono_runtime_invoke + 127

mono-rt: 36 GoneBananas 0x002297f5 monotouch_trampoline + 4005

mono-rt: 37 QuartzCore 0x05eb8b8a _ZN2CA7Display15DisplayLinkItem8dispatchEv + 48

mono-rt: 38 QuartzCore 0x05eb8a46 _ZN2CA7Display11DisplayLink14dispatch_itemsEyyy + 310

mono-rt: 39 QuartzCore 0x05eb8f6b _ZN2CA7Display16TimerDisplayLink8callbackEP16__CFRunLoopTimerPv + 123

mono-rt: 40 CoreFoundation 0x015bdbd6 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 22

mono-rt: 41 CoreFoundation 0x015bd5bd __CFRunLoopDoTimer + 1181

mono-rt: 42 CoreFoundation 0x015a5628 __CFRunLoopRun + 1816

mono-rt: 43 CoreFoundation 0x015a4ac3 CFRunLoopRunSpecific + 467

mono-rt: 44 CoreFoundation 0x015a48db CFRunLoopRunInMode + 123

mono-rt: 45 GraphicsServices 0x060279e2 GSEventRunModal + 192

mono-rt: 46 GraphicsServices 0x06027809 GSEventRun + 104

mono-rt: 47 UIKit 0x02937d3b UIApplicationMain + 1225

mono-rt: 48 ??? 0x1209974a 0x0 + 302618442

mono-rt: 49 ??? 0x120978a4 0x0 + 302610596

mono-rt: 50 ??? 0x12097480 0x0 + 302609536

mono-rt: 51 ??? 0x120975bf 0x0 + 302609855

mono-rt: 52 GoneBananas 0x000e4686 mono_jit_runtime_invoke + 790

mono-rt: 53 GoneBananas 0x0017ea9f mono_runtime_invoke + 127

mono-rt: 54 GoneBananas 0x00184313 mono_runtime_exec_main + 435

mono-rt: 55 GoneBananas 0x001840b4 mono_runtime_run_main + 628

mono-rt: 56 GoneBananas 0x0005107d mono_jit_exec + 93

mono-rt: 57 GoneBananas 0x0021bdea main + 2426

mono-rt: 58 GoneBananas 0x000032d5 start + 53

mono-rt:

Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries

used by your application.

I'm pretty sure GoneBananas worked on iOS some months ago....

Anyone faced similar problem ? Or maybe there is something obvious that I missed ;]

regards


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>