* Assertion at aot-runtime.c:1733, condition `!is_wrapper' not met

* Assertion at aot-runtime.c:1733, condition `!is_wrapper' not met

Program received signal:  “SIGABRT”.
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.

Is the error I’m getting… anyone have any ideas what would cause this?

  • Works fine in the editor (no nulls, errors etc)
  • I’ve restarted xcode, unity, iphone etc

So I found the problem and it seems to be a bug with Mono :S
It didn’t like the generic type in a Generic collection. This seems to be only an issue when I build for iphone as it will run without an issue on the Mac

List<QuadtreeNode<T>> m_nodes = new List<QuadtreeNode<T>>(4);

to fix

List<object> m_nodes = new List<object>(4);

Rod,

I’m running into the same things. Can you tell me a little more on how you fixed it? Which file, where can I find it?

Thanks!

hg111

You need to look for somewhere in your code where there’s a generic type within a generic List i.e.

List<GenericType> variable = new List<GenericType>();

No nothing “Generic” in my code.

Rod,

I am attaching the error code. Would love to hear the exact steps you took to fix the issue.

  • Assertion at /Users/mantasp/work/unity/unity-mono/External/Mono/mono/mono/mini/aot-runtime.c:1156, condition `aname’ not met
    Program received signal: “SIGABRT”.
    mi_cmd_stack_list_frames: Not enough frames in stack.
    mi_cmd_stack_list_frames: Not enough frames in stack.
    (gdb) thread apply all bt

Thread 1 (thread 11523):
#0 0x30d7c2d4 in __kill ()
#1 0x30d7c2ca in kill ()
#2 0x30d7c2bc in raise ()
#3 0x30d90d78 in abort ()
#4 0x005f83f8 in s_SkinVertices4Bones_Copy4Ints ()
#5 0x005f8430 in s_SkinVertices4Bones_Copy4Ints ()
#6 0x00000000 in ?? ()
(gdb)