Trapper:pet_treat_bag Engine Error

Engine Error:
release-535 (x64)
std::exception: '‘stonehearth’ has no alias named ‘trapper:pet_treat_bag’ in the manifest.'
stack traceback:
radiant/modules/common.lua:223: in function 'report_traceback’
radiant/modules/common.lua:234: in function <radiant/modules/common.lua:228>
[C]: in function 'create_entity’
radiant/modules/entities.lua:24: in function 'create_entity’
stonehearth/jobs/job_helper.lua:80: in function 'add_equipment’
stonehearth/jobs/trapper/trapper.lua:136: in function 'fn’
stonehearth/components/job/job_component.lua:100: in function '_call_job’
stonehearth/components/job/job_component.lua:308: in function '_apply_perk_for_level’
stonehearth/components/job/job_component.lua:430: in function '_level_up’
stonehearth/components/job/job_component.lua:398: in function 'add_exp’
stonehearth/jobs/trapper/trapper.lua:105: in function 'fn’
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:241: in function '_fire_async_triggers’
radiant/modules/events.lua:319: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

Steps to reproduce:

  1. Play the game normally and let the Trapper do his normal business
  2. Eventually receive the above engine error with no other actions taken by the player.

Expected Results:
No engine error.

Actual Results:
Engine error.

Version Number and Mods in use:
A15 R535 x64

Hi,
I think this is because the trapper is from an old save where the treat bag used to exist (unfortunately our job system saves extra information that it shouldn’t. It’s on my TO-DO list T_T). Did he level up correctly? If not, please demote him to worker and re-promote him to trapper and let me know if that fixes him. This error should not happen to new trappers in a new game.
Thanks!
-Yang

3 Likes

Ahh! Okiedoke. I’m content to abandon this save until your save compatibility to-do list has evolved more, and then I can come back and bring it forward. No big deal.

Hi!
Your old save should still be fine. Just demote the trapper to worker and then re-promote. I don’t think there will be any major issues with that … although if there are, please let me know.
-Yang

1 Like

Okay cool. Will do! thanks, Yang!

1 Like