# Array item in SaveFile turns NULL

**URL:** <https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197>\
**Category:** Editor Scripting\
**Tags:** Variable, save-file, unreal-engine, null, question\
**Created:** [July 14, 2021, 3:19pm UTC](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197 "2021-07-14T15:19:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sutano\_Izamura](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sutano_izamura/32/88706_2.png) [@Sutano\_Izamura](https://forums.unrealengine.com/u/Sutano_Izamura)\
**Post date:** [July 14, 2021, 3:19pm UTC](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197/1 "2021-07-14T15:19:34Z")

</div>

Hello devs. Sorry for bothering you but I really do not know what is happening right here

Can someone explain to me how it is possible that a variable which is in SaveGame FIle becomes NULL after a certain time? (Time is changing each time I start the game)

Nowhere in the code I have told that I need to remove this variable or set it’s name to NULL. I am just adding the actors to this array, nothing more, nothing less. I am using only ADD to add object to the Actor Array.

The NULL is acting like an actual actor in the array. When I add different actor to that array there is [NULL, ObjectName] Other arrays are working fine in the SaveFile

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/d/4cdd864e2ac47bc99d29906b824408792f18a358.jpeg "SaveFile Variable Turning NULL after certain amount of time") ](https://www.youtube.com/watch?v=E90LWUDHLtU)

There is nothing in the video really for the whole 50 seconds or so, you can skip to the end. An idea is I am doing literaly nothing to change the variable and it still goes to NULL

Big thanks to anyone who read this

---

<div class="post-metadata">

**Author:** ![Sutano\_Izamura](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sutano_izamura/32/88706_2.png) [@Sutano\_Izamura](https://forums.unrealengine.com/u/Sutano_Izamura)\
**Post date:** [October 1, 2021, 11:08pm UTC](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null/486197/2 "2021-10-01T23:08:41Z")

</div>

For someone who will be having the same problems as me in the future

[Array item in SaveFile turns NULL in few seconds](https://forums.unrealengine.com/t/array-item-in-savefile-turns-null-in-few-seconds/240583) ← Here should be discussed everything you need to know for this problem.
