box2d-optimized icon indicating copy to clipboard operation
box2d-optimized copied to clipboard

The testbed(Debug) 'Examples/Body Types' crashed when changed body type.

Open zero-meta opened this issue 3 years ago • 0 comments

When press key 's' or 'k' to change body type, it will crash. It's a debug build.

  • Here is the screenshot. Screen Shot 2023-01-06 at 12 55 56
  • Here is the llbd report:
     thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
       frame #4: 0x00000001000741cf testbed`b2Island::Add(this=0x00007ff7bfefeaf0, contact=0x000000010084f000) at b2_island.h:67:5
      64  	
      65  	  void Add(b2Contact* contact)
      66  	  {
    > 67  	    b2Assert(m_contactCount < m_contactCapacity);
      68  	    m_contacts[m_contactCount++] = contact;
      69  	  }
      70  	
    arget 0: (testbed) stopped.
    

zero-meta avatar Jan 06 '23 05:01 zero-meta