The important part of the log:
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 , 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:
Revolutionary-Games:master
← Revolutionary-Games:agent_properties_load_fix
opened 07:38AM - 11 Jun 24 UTC
**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.
2 Likes