# Unload Primary Asset doesn't work

**URL:** <https://forums.unrealengine.com/t/unload-primary-asset-doesnt-work/2374952>\
**Category:** Blueprint\
**Tags:** data-asset, unreal-engine, Blueprint, question, CPP\
**Created:** [March 4, 2025, 6:18pm UTC](https://forums.unrealengine.com/t/unload-primary-asset-doesnt-work/2374952 "2025-03-04T18:18:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blAddddDe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@blAddddDe](https://forums.unrealengine.com/u/blAddddDe)\
**Post date:** [March 4, 2025, 6:18pm UTC](https://forums.unrealengine.com/t/unload-primary-asset-doesnt-work/2374952/1 "2025-03-04T18:18:02Z")

</div>

Hello!!

Trying to understand AssetManager and Primary Data Asset for more optimized performance.

In Blueprint, I only load textures.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/0/980552e985ded9dc24061d7f8c88e066b013a7ef.png)  
At the end, I unload them manually  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/1/3/e131204aa9f19cf097c1daa4d459822522979f31.png)

There is one moment: these PrimaryDataAssets are used in a DataTable, and the DataTable is loaded in a character.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/0/850568b41a47bde4c07fb626a6fcce845ca3dacd.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/8/1182b45b5ae90225ee26cd01df16545d79f78865.png)

Item Base Class:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/7/d87aaccb99e23757294f82b89b59c9bfdd4c8111.png)

In the game, I use `obj list class=Texture2D` and `gc.CollectGarbageEveryFrame 1` commands for the test.  
But after destroying the widget, the item textures are still in that list.

Please help, maybe I have misunderstood these commands or AssetManager itself.

Thx.
