CheckInternalConsistency()
Several checks to ensure that the EntityComponentStore has all references that are expected at this time as well as the expected number of entities.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
[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.