Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Crash on Device but not Simulator — Gideros Forum

Crash on Device but not Simulator

I've been successfully running and playing my game on my iOS simulator (Apple M1, macOS 14.1). Today I built and ran it on my device (iPhone 15 Pro, iOS 17.3.1) and it immediately crashed. The debug output shows an uncaught exception in Lua "libc++abi: terminating due to uncaught exception of type LuaException" but looking back before the exception I saw these 3 lines which I think might be the real issue.

[gideros] starting render thread.
*visit(TimerEvent* v)* stack NOT ok begin:0 end:3 delta:0
*CppLuaBridge::luaEvent* stack NOT ok begin:0 end:3 delta:0
*enterFrame* stack NOT ok begin:0 end:3 delta:0

Does this look familiar to anyone? Not sure why it's working fine in the simulator but not on device...

Thanks in advance.



Comments

  • piepie Member
    I think I have seen that but I can't recall when and why: did you try running your app inside the gideros player on your device?
  • hgy29hgy29 Maintainer
    LuaException (with capitalized first letters) is thrown by Gideros when a lua error occurs and there app is not a player. So an on-device player should tell you more, as @pie suggested.
Sign In or Register to comment.