Closed ElectroJr closed 1 year ago
One side thing I noticed is that on DetachParentToNull an entity recursively updates its children during deletion which is also some duplicate work.
So if anyone else wants to help, the issue is that there's a desync between GetBroadphase and the data the entity's stuff is actually on. This means it will remove proxies for a graph it's not on so any time an entity is going from one broadphase to another it has a high chance of desyncing.
Previously we shitcoded around ordering issues by just storing the broadphase component on entities.
Just got one on 0.59.0.0
On my mob's FindContacts it threw the assert for the flare gun not being collidable.
DeparentAllEntsOnTile()
child1 == Proxy.Free
/explosion 100000
somewhere on stationCanCollide = false
in the physics trees.DeparentAllEntsOnTile()
, seemingly caused by an entity leaving PVS?