When you enable physics calculations, issues arise with packet distribution across threads (threads are enabled if there are more than 128 elements on the scene). At a certain number of nodes (or other physics-affected entities), a crash occurs because the last worker does not receive its share of nodes and runs out of memory (segfault).
- How to reproduce the issue: To reproduce the issue, add more than 128 nodes to the scene and enable physics, then add nodes one by one; at a certain number, the program will terminate with an error. I tested it, and the smallest number of nodes that causes the error is 160.
When you enable physics calculations, issues arise with packet distribution across threads (threads are enabled if there are more than 128 elements on the scene). At a certain number of nodes (or other physics-affected entities), a crash occurs because the last worker does not receive its share of nodes and runs out of memory (segfault).