Error: 'NoneType' object has no attribute 'sim_info': when this came up in my game, it was because one of my sims was culled between making the .json file and replacing the trait. I managed to locate the entry in the list that was an issue by searching for the last trait that was replaced (since sim-trait pairs are grouped by trait), finding the entry that has that trait and a sim ID that isn't in the game, and just deleting that entry.
It's kind of a bodge honestly, so if this issue keeps coming up for others I can try to write a bit more code to find these and remove them?
For updating ATICAS - Eunola has taken on the task of keeping this updated over at https://theofficialeunola.myportfolio.com/all-traits. Every name has been updated to (for example) Eunola_trait_Expressionistic, whereas before it would've been just trait_Expressionistic, so to reapply traits that are part of ATICAS, I recommend doing the following (this is basically just the workaround I put in the description above, but for sorting out all of the ATICAS traits at once):
make the .json file as above
replace old ATICAS files with the new files
load up the game again and enter 64bit
check if there are any 64bit ID traits in that list where the name is of the form "<class 'sims4.tuning.instances.trait_TRAITNAME>"
open up the .json file, and find and replace ".trait_" with ".Eunola_trait_" (without the "", and it's worth putting the . at the start so that it doesn't affect other trait names with trait_ in them somewhere) - you can click replace all if there were no traits in the list above, but if there were, then just be careful not to replace those
← Return to mod
Comments
Log in with itch.io to leave a comment.
Error: 'NoneType' object has no attribute 'sim_info': when this came up in my game, it was because one of my sims was culled between making the .json file and replacing the trait. I managed to locate the entry in the list that was an issue by searching for the last trait that was replaced (since sim-trait pairs are grouped by trait), finding the entry that has that trait and a sim ID that isn't in the game, and just deleting that entry.
It's kind of a bodge honestly, so if this issue keeps coming up for others I can try to write a bit more code to find these and remove them?
For updating ATICAS - Eunola has taken on the task of keeping this updated over at https://theofficialeunola.myportfolio.com/all-traits. Every name has been updated to (for example) Eunola_trait_Expressionistic, whereas before it would've been just trait_Expressionistic, so to reapply traits that are part of ATICAS, I recommend doing the following (this is basically just the workaround I put in the description above, but for sorting out all of the ATICAS traits at once):
Thank you so much for this. Your efforts are appreciated more than you know.
This comment just made me so so happy, thank you! <3