void OnDisable() { if (BoxesMinMaxAoSoANative.IsCreated) { BoxesMinMaxAoSoANative.Dispose(); } VisibilityMask.Release(); BoxesMinMaxAoSoA.Release(); FrustumData.Release(); }