[Solved] Random exceptions while running multiple physics spaces in parallel

So I’ve managed to solve my issues by shifting to native bullet on version 3.1 alpha 2. The UnsatisfiedLinkError exception above was being caused by bullet not being able to find its native library when the application ran in headless mode (see [Solved] Bullet doesn't find native library when running game in headless mode). Thanks for the help!