# gc.IncrementalGatherTimeLimit disabled in shipping builds 

**URL:** <https://forums.unrealengine.com/t/gc-incrementalgathertimelimit-disabled-in-shipping-builds/2674541>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [September 30, 2025, 6:57pm UTC](https://forums.unrealengine.com/t/gc-incrementalgathertimelimit-disabled-in-shipping-builds/2674541 "2025-09-30T18:57:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 30, 2025, 6:57pm UTC](https://forums.unrealengine.com/t/gc-incrementalgathertimelimit-disabled-in-shipping-builds/2674541/1 "2025-09-30T18:57:55Z")

</div>

Unlike the other variables related to incremental garbage collection, gc.IncrementalGatherTimeLimit seems to be disabled in shipping builds. Is there a reason why?

```auto
#if UE_BUILD_SHIPPING
static constexpr float GIncrementalGatherTimeLimit = 0.0f;
#else
static float GIncrementalGatherTimeLimit = 0.0f;
static FAutoConsoleVariableRef CVarIncrementalGatherTimeLimit(
	TEXT("gc.IncrementalGatherTimeLimit"),
	GIncrementalGatherTimeLimit,
	TEXT("Override Incremental Gather Time Limit (in seconds)."),
	ECVF_Default
);
#endif

```

---

<div class="post-metadata">

**Author:** ![robert.manuszewski](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robert.manuszewski](https://forums.unrealengine.com/u/robert.manuszewski)\
**Post date:** [October 14, 2025, 6:11am UTC](https://forums.unrealengine.com/t/gc-incrementalgathertimelimit-disabled-in-shipping-builds/2674541/2 "2025-10-14T06:11:38Z")

</div>

To be honest I don’t exactly recall why I submitted it this way but it could’ve been to stress the experimental nature of the feature. Note that it has since then been completely disabled (CL 33716368) because of thread safety concerns related to FUObjectItem::IsUnreachable() which, unlike the other reachability flags is often checked by things like weak object pointers and other utility classes and functions.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 16, 2025, 5:31pm UTC](https://forums.unrealengine.com/t/gc-incrementalgathertimelimit-disabled-in-shipping-builds/2674541/3 "2025-10-16T17:31:49Z")

</div>

Ok thanks for the clarification. It’s unfortunate it had to be disabled completely but that makes sense. Hopefully it can come back online in the future
