Unity Engine documentationScript ReferenceUnity.EntitiesEntityQueryBuilderDispose()Dispose the builder and release the memory.Read time 1 minuteLast updated a month agoDefinition Type: Method Namespace: Unity.Entities Assembly: UnityEngine.EntitiesModule public void Dispose()