Report problems here (or use the built-in feedback dialog in the editor)
6 posts • Page 1 of 1
I instantiate an async RubeSceneLoader (https://github.com/tescott/RubeLoader) (JAVA) in libgdx and load an exported RUBE json file. I get this crash : java: /var/lib/jenkins/workspace/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/b2PolygonShape.cpp:158: void b2PolygonShape::Set(const b2Vec2*, int32): Assertion `false' failed. JSON file is here. Any indications if this is an error in the data RUBE has exported? https://gist.github.com/rileyrg/bc71e7d6b9c7fe07bb09
I dont have any cpp files. You mean I should build my own box2d? OK, stop press. It seems this fix has been ported into some cutting edge of box2d. It should be backported into libgdx in the near future.
I haven't used libgdx but since it's open source, surely there is a 'build everything' type script or some instructions that let you make the components from scratch yourself? In any case the change would be to replace the b2PolygonShape.cpp, this has apparently helped other users.