# \[PLUGIN\] Savior

**URL:** <https://forums.unrealengine.com/t/plugin-savior/110080>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [April 26, 2018, 2:40pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080 "2018-04-26T14:40:53Z")\
**Posts on this page:** 20\
**Page:** 7

<div class="post-metadata">

**Author:** ![Chaosian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaosian](https://forums.unrealengine.com/u/Chaosian)\
**Post date:** [December 22, 2018, 6:26am UTC](https://forums.unrealengine.com/t/plugin-savior/110080/129 "2018-12-22T06:26:19Z")

</div>

Ah, thanks for being so prompt! That makes much more sense. I was getting numbers before when I wasn’t using the metadata properly because I was simply stomping over what value you were naturally generating.  
Just a quick follow-up then. I can co-opt other meta-data entries and probably jam the variables I’m looking for into them, but is there a better way of going about it? Could I simply access the value from the game mode inside the save data itself? If I understand correctly, simply loading the game mode will overwrite the current game-mode.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 22, 2018, 1:14pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/130 "2018-12-22T13:14:30Z")

</div>

There’s nodes to save/load GameInstance class.  
I would load the GameInstance class (without Loadscreens) just to read some of my custom meta properties.

Or you could just modify the meta slot class in C++ instead, to include extra default meta properties, but that requires Visual Studio and C knowledge. (and rebuild the plugin from source)

---

<div class="post-metadata">

**Author:** ![Chaosian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chaosian](https://forums.unrealengine.com/u/Chaosian)\
**Post date:** [December 24, 2018, 12:13am UTC](https://forums.unrealengine.com/t/plugin-savior/110080/131 "2018-12-24T00:13:24Z")

</div>

That sounds good to me, I can take it from there.  
Thanks for you help and suggestions!

---

<div class="post-metadata">

**Author:** ![BulleTime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BulleTime](https://forums.unrealengine.com/u/BulleTime)\
**Post date:** [December 25, 2018, 1:07pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/132 "2018-12-25T13:07:45Z")

</div>

> [@BrUnO\_XaVIeR](#):
>
> I have implemented multi-threaded ZLib compression in version 2.5.0;  
> I will also add a sub-system to save a “minimal set” of data where you can use to further reduce file size.
> 
> **Warning** :  
> Save files created with plugin before version 2.5.0 will NOT be compatible to 2.5+ due to compression algorithm included.
> 
> https://i.imgur.com/DW1QdOO.png
> 
> “Minimal” data set is always compressed and usually 400% smaller than default (complex) set;  
> However, on minimal it’s not possible to support threaded auto-respawn of Actor/Component instances on load:
> 
> https://i.imgur.com/hCcik49.png

Nice, gonna check that out soon. thanks!

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 25, 2018, 2:58pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/133 "2018-12-25T14:58:37Z")

</div>

Actually if I remember correctly that checkbox to enable “compression” is removed because it’s now always On by default.

“Minimal / Complex” option on Slots still apply tho.  
I was testing on a 40Mb+ save file and it reduced to 9,6Mb when switching to “Minimal” data set.

---

<div class="post-metadata">

**Author:** ![BulleTime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BulleTime](https://forums.unrealengine.com/u/BulleTime)\
**Post date:** [December 27, 2018, 4:52pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/134 "2018-12-27T16:52:06Z")

</div>

I still have the checkbox (version 2.6.2) in project settings…

Anyhow, ive got a question about saving my data.

I’m using a actor that holds a couple of RuntimeMeshComponents. ([GitHub - TriAxis-Games/RuntimeMeshComponent: Unreal Engine 4 plugin component for rendering runtim](https://github.com/Koderz/RuntimeMeshComponent)). This actor creates the mesh using a array of floats.

```auto

UPROPERTY(SaveGame)
TArray<float>Heightmap;

```

The idea was to save the array, and load back to recreate the mesh. This worked nicely with the RamaSaveSystem to. However, it seems when i add the actor to ‘Actor scope’ it will crash the editor when the gameworld is loaded. It seems that its because of the components within the actor?

Whats the best workaround to ignore these components and recreate the actor using the saved data?

Thanks

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 27, 2018, 5:39pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/135 "2018-12-27T17:39:12Z")

</div>

First thing I would do is add “\*\*!Save” **and "**!Load" \*\* component tags to the instances of RuntimeMeshComponent…  
If that has no results then I would use Component Scope to save only specific component classes, leaving RuntimeMeshComponent out of the list.

---

<div class="post-metadata">

**Author:** ![BulleTime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BulleTime](https://forums.unrealengine.com/u/BulleTime)\
**Post date:** [December 28, 2018, 10:16am UTC](https://forums.unrealengine.com/t/plugin-savior/110080/136 "2018-12-28T10:16:45Z")

</div>

I actually tried to clear component Scope (and Object Scope), but when i i add the actor to actor scope it will still crash.

In output it says:

> [@](#):
>
> Assertion failed: CurrentIndex+Count\<=CompressedData.Num() [File:D:\Build++UE4\Sync\Engine\Source\Runtime\Core\Private\Serialization\ArchiveLoadCompressedProxy.cpp] [Line: 72]

 ![savior2.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/c/8c1f8f620c0bbc099bcab13327d5e4af04a19885.png)

[Edit] When i remove the SaveGame UPROPERTY from the float array it wont crash, so im quite sure that the array is causing it…  
Also, when i disable compress save data in project settings, it wont crash.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 28, 2018, 2:07pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/137 "2018-12-28T14:07:29Z")

</div>

Hmm… That looks like an error when decompressing data from Json parser. It fails if you enable that compression checkbox on project settings.

Are you using Unreal 4.20?

---

<div class="post-metadata">

**Author:** ![BulleTime](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BulleTime](https://forums.unrealengine.com/u/BulleTime)\
**Post date:** [December 28, 2018, 2:20pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/138 "2018-12-28T14:20:26Z")

</div>

Im using 4.21.1, and Savior version 2.6.2. Its indeed a crash when i attempt to load the gameworld. It seems that im using a wrong version? (as u said compression is now default?)

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 28, 2018, 2:28pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/139 "2018-12-28T14:28:18Z")

</div>

Looks like I forgot to send 2.6.5 to Marketplace :rolleyes:

There shouldn’t be any of those checkboxes on project settings anymore.  
Not _Encrypt Property Data_ neither _Compress Save Data_

Disable them both and you should be fine.  
They confuse some internal things for the FDefaultAllocators of TArrays… I am looking at my personal notes and this is why I do something different on latest version instead of using those checkboxes.

Just enable “Minimal” Compression on your Slot asset and you already get all the compression possible it can offer.  
(basically those checkboxes run the thingy twice and that is bad lol)

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 28, 2018, 3:42pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/140 "2018-12-28T15:42:08Z")

</div>

Okay, I submitted the version that I “thought” was already on Marketplace, sorry about that lol  
Basically it just removes those checkboxes that shouldn’t be used anymore.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_71329954](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_71329954](https://forums.unrealengine.com/u/anonymous_user_71329954)\
**Post date:** [December 29, 2018, 10:38am UTC](https://forums.unrealengine.com/t/plugin-savior/110080/141 "2018-12-29T10:38:45Z")

</div>

I still get version 2.6.2 when i download from marketplace…

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [December 29, 2018, 1:25pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/142 "2018-12-29T13:25:01Z")

</div>

Epic have to process the update submission, they may take a few days.

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [December 29, 2018, 5:01pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/143 "2018-12-29T17:01:51Z")

</div>

> [@BrUnO\_XaVIeR](#):
>
> Epic have to process the update submission, they may take a few days.

Probably a week after New Year’s holiday or even more.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_71329954](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_71329954](https://forums.unrealengine.com/u/anonymous_user_71329954)\
**Post date:** [January 3, 2019, 12:26pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/144 "2019-01-03T12:26:18Z")

</div>

Hi, i was trying to save a DateTime struct, however it seems not being saved?

---

<div class="post-metadata">

**Author:** ![GoalDrivenGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoalDrivenGames](https://forums.unrealengine.com/u/GoalDrivenGames)\
**Post date:** [January 17, 2019, 10:40pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/146 "2019-01-17T22:40:08Z")

</div>

It somewhat says it is saving, but it doesn’t load anything. I only have health, hunger and thirst checked as “save game”. It shows me in the file, that the save file exists, have load on Begin play and nothing, put print strings on success and fail, no response about it. Debugging does not work anymore. Can’t tell what it is doing as I can’t see it. I’ll post screenshots for ref. if needed. Would appreciate some honest help. Thanks

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [January 17, 2019, 10:58pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/147 "2019-01-17T22:58:07Z")

</div>

Use nodes that have no “clock” on top right corner.  
If you’re not sure, just use normal save/load nodes instead.

Do not simply attach nodes to Begin Play, you can’t control when Begin Play will be called. It can execute while the Actors you’re trying to load don’t even exist yet in game world.

---

<div class="post-metadata">

**Author:** ![GoalDrivenGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoalDrivenGames](https://forums.unrealengine.com/u/GoalDrivenGames)\
**Post date:** [January 17, 2019, 10:58pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/148 "2019-01-17T22:58:48Z")

</div>

ScreenShot

---

<div class="post-metadata">

**Author:** ![GoalDrivenGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GoalDrivenGames](https://forums.unrealengine.com/u/GoalDrivenGames)\
**Post date:** [January 17, 2019, 11:00pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/149 "2019-01-17T23:00:50Z")

</div>

> [@BrUnO\_XaVIeR](#):
>
> Use nodes that have no “clock” on top right corner.  
> If you’re not sure, just use normal save/load nodes instead.
> 
> Do not simply attach nodes to Begin Play, you can’t control when Begin Play will be called. It can execute while the Actors you’re trying to load don’t even exist yet in game world.

The only thing I have on Begin Play is input set to game only as Unreal is no longer making that default. Any suggestion on where to load then? Thanks

Edit: They all have the clock btw

[Previous page](https://forums.unrealengine.com/t/plugin-savior/110080.md?page=6)

[Next page](https://forums.unrealengine.com/t/plugin-savior/110080.md?page=8)
