Method CheckInternalConsistency
CheckInternalConsistency()
Several checks to ensure that the EntityComponentStore and ManagedComponentStore have all references that are expected at this time as well as the expected number of entities.
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
[Conditional("UNITY_DOTS_DEBUG")]
public void CheckInternalConsistency()
Remarks
These checks can not safely run while any jobs are running against this EntityManager's World. The caller should consider calling CompleteAllTrackedJobs() first to enforce this constraint.