There is an assertion that checks to make sure descendants are deleted on next frame, but in Buoyancy, it is buggy because we delete a PhetioCapsule element and re-create it in the same frame. We will comment out these lines until we can be more robust about this.
There is an assertion that checks to make sure descendants are deleted on next frame, but in Buoyancy, it is buggy because we delete a PhetioCapsule element and re-create it in the same frame. We will comment out these lines until we can be more robust about this.
https://github.com/phetsims/tandem/blob/c6a65b64060582984db50eb773191b8de3d94283/js/PhetioObject.ts#L647-L649