# Error while loading save file (0.6.7.0 beta)

**URL:** https://community.revolutionarygamesstudio.com/t/error-while-loading-save-file-0-6-7-0-beta/7501
**Category:** Bug Reports
**Created:** [June 11, 2024, 6:06pm UTC](https://community.revolutionarygamesstudio.com/t/error-while-loading-save-file-0-6-7-0-beta/7501 "2024-06-11T18:06:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Itookausername](https://thrivecommunity-cdn.b-cdn.net/letter_avatar_proxy/v4/letter/i/ba9def/32.png) [@Itookausername](https://community.revolutionarygamesstudio.com/u/Itookausername)
#### Post date: [June 11, 2024, 6:06pm UTC](https://community.revolutionarygamesstudio.com/t/error-while-loading-save-file-0-6-7-0-beta/7501/1 "2024-06-11T18:06:50Z")

</div>

Loading save file failed with this [Error](https://pastebin.com/ff4MCwqb)

[Save file](https://www.dropbox.com/scl/fi/cxg8azf1qgn0grlzyt20h/test.thrivesave?rlkey=0k40mfje8insks1528jmxrsfn&st=66grpo3l&dl=0)

Only occured after I relaunched the game

---

<div class="post-metadata">

### Author: ![hhyyrylainen](https://thrivecommunity-cdn.b-cdn.net/user_avatar/community.revolutionarygamesstudio.com/hhyyrylainen/32/32_2.png) [@hhyyrylainen](https://community.revolutionarygamesstudio.com/u/hhyyrylainen)
#### Post date: [June 11, 2024, 6:53pm UTC](https://community.revolutionarygamesstudio.com/t/error-while-loading-save-file-0-6-7-0-beta/7501/2 "2024-06-11T18:53:18Z")

</div>

The important part of the log:

```auto
Error Loading - An exception happened while loading the save data exception: Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type AgentProperties. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path

```

Which is the same error I already [replied to earlier today](https://community.revolutionarygamesstudio.com/t/0-6-7-release-candidate-testing/7497/15), but didn’t get a save file yet so thanks for providing that.

With that save I was able to confirm that my fix here works:

> <https://github.com/Revolutionary-Games/Thrive/pull/5200>
>
> \*\*Brief Description of What This PR Does\*\*
> 
> This PR does some stuff...
> 
> \*\*Re…lated Issues\*\*
> 
> \<!-- List all issues this PR closes here with the closes syntax: 
> https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword
> If this is not related to an issue, it should be described in more detail why this PR is needed here instead.
> \--\>
> https://community.revolutionarygamesstudio.com/t/0-6-7-release-candidate-testing/7497/15
> 
> \*\*Progress Checklist\*\*
> 
> Note: before starting this checklist the PR should be marked as non-draft.
> 
> \- \[x\] PR author has checked that this PR works as intended and doesn't
> break existing features:
> https://wiki.revolutionarygamesstudio.com/wiki/Testing\_Checklist
> (this is important as to not waste the time of Thrive team
> members reviewing this PR)
> \- \[\] Initial code review passed (this and further items should not be checked by the PR author)
> \- \[\] Functionality is confirmed working by another person (see above checklist link)
> \- \[\] Final code review is passed and code conforms to the 
> \[styleguide\](https://github.com/Revolutionary-Games/Thrive/blob/master/doc/style\_guide.md).
> 
> Before merging all CI jobs should finish on this PR without errors, if
> there are automatically detected style issues they should be fixed by
> the PR author. Merging must follow our
> \[styleguide\](https://github.com/Revolutionary-Games/Thrive/blob/master/doc/style\_guide.md#git).

The fix will be in 0.6.7 proper.
