# Ue4 4.18.3  Fatal error: GarbageCollection in packaged game. GarbageCollection.cpp Line: 1374

**URL:** <https://forums.unrealengine.com/t/ue4-4-18-3-fatal-error-garbagecollection-in-packaged-game-garbagecollection-cpp-line-1374/416061>\
**Category:** UI\
**Tags:** unreal-engine, crash, bug-report, Widget, question\
**Created:** [January 31, 2018, 7:51pm UTC](https://forums.unrealengine.com/t/ue4-4-18-3-fatal-error-garbagecollection-in-packaged-game-garbagecollection-cpp-line-1374/416061 "2018-01-31T19:51:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NikolayE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NikolayE](https://forums.unrealengine.com/u/NikolayE)\
**Post date:** [January 31, 2018, 7:51pm UTC](https://forums.unrealengine.com/t/ue4-4-18-3-fatal-error-garbagecollection-in-packaged-game-garbagecollection-cpp-line-1374/416061/1 "2018-01-31T19:51:03Z")

</div>

**UE 4.18.3**

Good day everyone.

We have problem with _GarbageCollection_ in packaged game. After 0.5 -1 minute game crashed. And show this message:

**Fatal error: [File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 1374]**

When we use UE4.17 we do not have this problem.  
I am trying to fix this problem since last week.

That is result of my research:

**Case 1:**  
Widgets cause this problem. In log I can see messages like this

**LogGarbage: Warning: Disregard for GC object CanvasPanel /Game/EOTBX\_Library/WayPoints/Base/W\_Waypoint.PLACEHOLDER-INST\_of\_W\_Waypoint\_C\_0:WidgetTree\_0.CanvasPanel\_73 referencing VisibilityBinding /Game/EOTBX\_Library/WayPoints/Base/W\_Waypoint.PLACEHOLDER-INST\_of\_W\_Waypoint\_C\_0:WidgetTree\_0.CanvasPanel\_73.VisibilityBinding\_1 which is not part of root set**

In this case GarbageCollection do not like Bind function GetWaypointVisibility.

 ![229078-pic-01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/7/26703b374f3c87e25e6e71cc35b3a3b0539b76be.jpeg)

 ![229079-pic-02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/3/443cbb1b3132a763d69b5d315bff012b09a10854.jpeg)

In this function we use reference on _WaypointComponet_( Parent Class: _SceneComponent_). Usually we add this component to some simple actor blueprint.

If I remove reference on _WaypointComponet_ from function and live this reference in widget it still call the same error. But when I remove reference from widget it fix problem for this widget.

Unfortunate reference on _SceneComponent_ is not one problem.

**Case 2:**

**LogGarbage: Warning: Disregard for GC object TextBlock /Game/RingMenuConstKit/WB\_RingMenu.PLACEHOLDER-INST\_of\_WB\_RingMenu\_C\_0:WidgetTree\_0.DescText referencing TextBinding /Game/RingMenuConstKit/WB\_RingMenu.PLACEHOLDER-INST\_of\_WB\_RingMenu\_C\_0:WidgetTree\_0.DescText.TextBinding\_1 which is not part of root set**

In this case GarbageCollection do not like Bind Variable _ItemDescription_(::Text).

 ![229081-pic-03.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/3/e43661b2369062f22eb209267738b569a02a5a6a.jpeg)

 ![229082-pic-04.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/6/d762a251b7001188189755040c98954326c989d1.jpeg)

And this internal variable is changed only in one function which have reference _SelectedButton_ on _WB\_MenuButton_(Parent class: _User Widget_).

In this case I have no idea hot to fix it.

**Case 3:**  
**Warning: Disregard for GC object MediaPlayer /Game/EOTB\_X/VIDEOS/NewMediaPlayer.NewMediaPlayer referencing MediaPlaylist /Engine/Transient.MediaPlaylist\_4 which is not part of root set**

 ![229084-pic-05.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/b/7ab20c1d098303ea1363866e8696ddaa83f68a2c.jpeg)

Have no idea what is wrong with that.

**I will be appreciate for any help or advice how to fix it.**  
We use a lot of widget so re do all of them takes a lot of time.

We do not have any problem in version 4.17. Maybe rules for widget was changed.???

---

<div class="post-metadata">

**Author:** ![NikolayE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NikolayE](https://forums.unrealengine.com/u/NikolayE)\
**Post date:** [January 31, 2018, 7:54pm UTC](https://forums.unrealengine.com/t/ue4-4-18-3-fatal-error-garbagecollection-in-packaged-game-garbagecollection-cpp-line-1374/416061/2 "2018-01-31T19:54:47Z")

</div>

One of the Log Files  
link text

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [January 31, 2018, 8:44pm UTC](https://forums.unrealengine.com/t/ue4-4-18-3-fatal-error-garbagecollection-in-packaged-game-garbagecollection-cpp-line-1374/416061/3 "2018-01-31T20:44:52Z")

</div>

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

[https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form](https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form)

Thanks
