# \[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:** 5

<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:** [October 17, 2018, 12:56pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/86 "2018-10-17T12:56:16Z")

</div>

Is it possible to save HierarchicalInstancedStaticMesh instances with savior?

---

<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:** [October 17, 2018, 2:04pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/87 "2018-10-17T14:04:38Z")

</div>

> [@BulleTime](#):
>
> Is it possible to save HierarchicalInstancedStaticMesh instances with savior?

Only the Editor can Serialize() meshes;  
Packaged game would always crash.

So, no. I intentionally skip saving any kind of mesh information.

---

<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:** [October 21, 2018, 12:07pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/88 "2018-10-21T12:07:50Z")

</div>

So what about large files, e.g. big arrays of vectors etc.?

---

<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:** [October 21, 2018, 1:10pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/89 "2018-10-21T13:10:11Z")

</div>

> [@BulleTime](#):
>
> So what about large files, e.g. big arrays of vectors etc.?

No problem, the system can run its own thread and automatically generate progress (0-100%) report for you.

---

<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:** [October 25, 2018, 5:01pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/90 "2018-10-25T17:01:22Z")

</div>

Is there any documentation on how to save struct data?

---

<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:** [October 25, 2018, 6:20pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/91 "2018-10-25T18:20:47Z")

</div>

> [@BulleTime](#):
>
> Is there any documentation on how to save struct data?

Structs save just like anything else;  
Unless you have Object References in Arrays inside Structs; that kind of nested object references will not save.

Also you should make sure you’re not simply creating new Struct after loading, resetting everything to default values.

---

<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:** [October 26, 2018, 11:58am UTC](https://forums.unrealengine.com/t/plugin-savior/110080/92 "2018-10-26T11:58:18Z")

</div>

I tried to save a big struct with data but my pc just froze for like 5 minutes untill i did a reboot. Any idea why? Am on 4.20.3

---

<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:** [October 26, 2018, 1:19pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/93 "2018-10-26T13:19:41Z")

</div>

If you launch your project from within Visual Studio and got a crash, debugger would tell you what happened, why there was a crash.

---

<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:** [October 26, 2018, 1:41pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/94 "2018-10-26T13:41:00Z")

</div>

Ive got no crash, my pc just freezes. Perhaps my size is to big ? I expect the filesize aleast 100 mb (now i use RamaSaveSystem)

---

<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:** [October 26, 2018, 2:11pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/95 "2018-10-26T14:11:01Z")

</div>

If you’re using the plugin on threaded mode nothing should freeze.  
What might be freezing your PC is the built-in SaveSystem writing the \*.sav file to your HDD, that file being so large.

---

<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:** [October 26, 2018, 2:19pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/96 "2018-10-26T14:19:51Z")

</div>

> [@BulleTime](#):
>
> Ive got no crash, my pc just freezes. Perhaps my size is to big ? I expect the filesize aleast 100 mb (now i use RamaSaveSystem)

And Rama’s Save System doesn’t freeze when saving ?

---

<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:** [October 26, 2018, 2:28pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/97 "2018-10-26T14:28:14Z")

</div>

Nope, for the rama save system a file of 300 mb takes around 20 seconds to save… and is async to

Edit: just got a error with another test :

‘FMemoryWriter does not support data larger than 2GB.’

It seems the file is way more bigger than usual i had with Rama Save…

---

<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:** [October 26, 2018, 2:33pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/98 "2018-10-26T14:33:06Z")

</div>

I use default SaveSystem to write files to disk, so I don’t really know what might be happening there in your case.

---

<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:** [October 26, 2018, 2:55pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/99 "2018-10-26T14:55:54Z")

</div>

When i attemp to save i notice the progress is being stuck on around 60%. also i get a crash after a while. So its not even giving a progress… How can the file be bigger than Rama Save? is it compressed?

---

<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:** [October 26, 2018, 3:13pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/100 "2018-10-26T15:13:15Z")

</div>

I don’t know anything about his system, never used.

Can you pm me a screenshot of the struct you’re saving, to let me see the types of its members that are saved from it?

---

<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:** [October 26, 2018, 3:56pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/101 "2018-10-26T15:56:36Z")

</div>

Its just a struct holding arrays with mesh data. it must be within the filesize i think

---

<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:** [October 26, 2018, 4:07pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/102 "2018-10-26T16:07:30Z")

</div>

Oh okay, now I understand the problem;  
The plugin replaces instances of your struct while you have something reading “UVs”, “Tangents” and “Colors”. Random crash will happen because that…

I personally would instead split those two groups into separate structs, but then I don’t know how much that would affect your architecture.

---

<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:** [October 26, 2018, 4:18pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/103 "2018-10-26T16:18:44Z")

</div>

But as mentioned above, the file is to big anyhow 😉 Its generating a file bigger than the max 2 GB

---

<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:** [October 26, 2018, 4:33pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/104 "2018-10-26T16:33:12Z")

</div>

Yeah I would have to build a different mechanism to write the USaveGame object to disk from another thread, instead of using Unreal’s one;  
I will keep it noted, but for now I cannot promise when/how/IF, etc…

---

<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:** [November 6, 2018, 3:02pm UTC](https://forums.unrealengine.com/t/plugin-savior/110080/106 "2018-11-06T15:02:58Z")

</div>

Ive found a better way of creating my data with alot of less data costs. Thanks for the reply anyhow.

Got 2 more questions…

When i save a actor (like ADefaultPawn) and load back, the camera orientation seems not to be saved… How can i fix that?

Also, i cant manage to find out how to change the save file name… Any advises?

Thanks!

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

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