# 5.5 Serialize resetting inherited BP class's variables

**URL:** <https://forums.unrealengine.com/t/5-5-serialize-resetting-inherited-bp-classs-variables/2317638>\
**Category:** Programming & Scripting\
**Tags:** serialization, unreal-engine\
**Created:** [February 4, 2025, 5:15pm UTC](https://forums.unrealengine.com/t/5-5-serialize-resetting-inherited-bp-classs-variables/2317638 "2025-02-04T17:15:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimsnomis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jimsnomis](https://forums.unrealengine.com/u/jimsnomis)\
**Post date:** [February 4, 2025, 5:15pm UTC](https://forums.unrealengine.com/t/5-5-serialize-resetting-inherited-bp-classs-variables/2317638/1 "2025-02-04T17:15:23Z")

</div>

This is an issue with 5.5. The saving/archiving has been optimized to default to delta saving, such that when a savegame variable is at its default, it isn’t serialized in the archive.

There’s a bug in that during load, it can get the wrong default somehow and reset to zero (most likely the base class’s default rather than the child/inherited class’s overridden default).

This breaks save and load pretty badly on my application. Turning off the delta behavior fixes it at the expense of a larger save file.

Look at bDense in Archive.cpp for where the problem comes from.

```auto
MySaveGameArchive(FArchive& InInnerArchive)
	: FObjectAndNameAsStringProxyArchive(InInnerArchive, false)
{
	ArIsSaveGame = true;
// This fixes it
	ArNoDelta = true;
}

```
