nullptr Exception thrown from batchedConstraint::setup

nickak2003
Posts: 17
Joined: Thu Mar 04, 2010 10:35 pm

nullptr Exception thrown from batchedConstraint::setup

Post by nickak2003 »

The following image contains the error and stack trace:

https://pasteboard.co/IS8iQqf.png


I am using multithreaded bullet, a height map, and a lot of objects. Only happens once objects have started colliding on the heightmap, and only when there's pileup or a lot of interaction.

Seems like something internally was deleted or lost for some reason? Any ideas or need to see any code?
nickak2003
Posts: 17
Joined: Thu Mar 04, 2010 10:35 pm

Re: nullptr Exception thrown from batchedConstraint::setup

Post by nickak2003 »

OK sorry it looks like the problem was bullet wasn't built with multithreading checked, lol. Sorry!