# GC messing up TArray without UPROPERTY

**URL:** <https://forums.unrealengine.com/t/gc-messing-up-tarray-without-uproperty/320560>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 3, 2015, 4:11am UTC](https://forums.unrealengine.com/t/gc-messing-up-tarray-without-uproperty/320560 "2015-06-03T04:11:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SyMutex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SyMutex](https://forums.unrealengine.com/u/SyMutex)\
**Post date:** [June 3, 2015, 2:21pm UTC](https://forums.unrealengine.com/t/gc-messing-up-tarray-without-uproperty/320560/3 "2015-06-03T14:21:49Z")

</div>

Sure… I was adding instances of my UObject derived custom class. Actually the problem happened after adding one instance of my custom class and forcing the GC. The next time I try to add another instance the array was already damaged. Let me try to make a minimal project to reproduce this error for you.

---

_[View the full topic](https://forums.unrealengine.com/t/gc-messing-up-tarray-without-uproperty/320560)._
