[OPEN] Last Exception with Fertilizing plants
Product: The Sims 4
Platform:PC
Which language are you playing the game in? English
How often does the bug occur? Every time (100%)
What is your current game version number? 1.99.305.1020
What expansions, game packs, and stuff packs do you have installed? All except for a few kits
Steps: How can we find the bug ourselves? Have a sim fertilize a plant (can be any type of harvestable and it seems it does not seems to matter what type of fertilizer is used), and while they are in the middle of performing the interaction, save the game. Then exit to the main menu and load back into the save and allow the sim to attempt continuing the fertilize interaction.
What happens when the bug occurs? A last exception occurs, with 2 different error messages in it; one with CategoryID: object_liabilities.py:66 and the other with CategoryID: object_liabilities.py:44. The item which was used to fertilize the plant is returned to the sim inventory, but the plant still gets fertilized.
What do you expect to see? No error should occur, and the item that was used to fertilize the plant should still be consumed.
Have you installed any customization with the game, e.g. Custom Content or Mods? Not now. I've removed them.
Did this issue appear after a specific patch or change you made to your system? Neutral/Not Sure
From what I can tell, this error is likely due to an issue with the game saving hidden inventories between reloads of a lot; from my understanding, when a sim fertilizes a plant, the item that is being used is placed in a temporary "hidden inventory" for the duration of the interaction before it gets fully deleted. If the game is saved and then reloaded, it seems it cannot save this hidden inventory and just moves the item back to the sim inventory. Then when the sim attempts to continue the interaction, the game tries to get the item from the hidden inventory, but since it is no longer there, it throws an error instead. (Full error is in the spoiler below).
<report><version>2</version><sessionid>cf04d347f0c1f9f064d78fcf</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2023-08-12 15:06:17</createtime><buildsignature>Local.Unknown.Unknown.1.99.305.1020-1.300.000.168.Release</buildsignature><categoryid>object_liabilities.py:44</categoryid><desyncid>cf04d347f0c1f9f064d78fcf</desyncid><systemconfig/><screenshot/><desyncdata>Liability TemporaryHiddenInventoryTransferLiability(object=ParticipantTypeObject.PickedObject) threw exception 'NoneType' object has no attribute 'get_inventory' (AttributeError: 'NoneType' object has no attribute 'get_inventory') Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Core\sims4\utils.py", line 179, in wrapper File "T:\InGame\Gameplay\Scripts\Server\areaserver.py", line 210, in c_api_server_tick File "T:\InGame\Gameplay\Scripts\Server\zone.py", line 507, in update File "T:\InGame\Gameplay\Scripts\Server\time_service.py", line 117, in update File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 221, in simulate File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 385, in _resume File "T:\InGame\Gameplay\Scripts\Server\sims\sim.py", line 4043, in _process_interaction_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 791, in process_one_interaction_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 952, in process_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 323, in remove_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 1151, in _remove_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 5538, in on_removed_from_si_state File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 5550, in _exited_pipeline File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 7559, in _exited_pipeline File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 5542, in release_liabilities File "T:\InGame\Gameplay\Scripts\Server\interactions\object_liabilities.py", line 66, in release File "T:\InGame\Gameplay\Scripts\Server\interactions\object_liabilities.py", line 44, in _return_obj AttributeError: 'NoneType' object has no attribute 'get_inventory'rtim=0 Client Session Time: 135.67 Num Save Errors: 0 Num Load Errors: 0 Current Game State: 0x96d01090 LoadingScreenActiveFlag: 1 Origin Version: 13,0,0,5513 Modded: False SystemInfo: Windows 10 10.0.19045 GPU: NVIDIA GeForce GTX 1050 nvldumdx.dll 30.0.14.9649, GUID: D7B71E3E-5FCD-11CF-3D56-76A40EC2D335 </desyncdata></report>
<report><version>2</version><sessionid>cf04d347f0c1f9f064d78fcf</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2023-08-12 15:06:17</createtime><buildsignature>Local.Unknown.Unknown.1.99.305.1020-1.300.000.168.Release</buildsignature><categoryid>object_liabilities.py:66</categoryid><desyncid>cf04d347f0c1f9f064d78fcf</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception resuming Element (AttributeError: 'NoneType' object has no attribute 'get_inventory') Traceback (most recent call last): File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 221, in simulate File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 385, in _resume File "T:\InGame\Gameplay\Scripts\Server\sims\sim.py", line 4043, in _process_interaction_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\interaction_queue.py", line 791, in process_one_interaction_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 952, in process_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 323, in remove_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\si_state.py", line 1151, in _remove_gen File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 5538, in on_removed_from_si_state File "T:\InGame\Gameplay\Scripts\Server\interactions\base\super_interaction.py", line 5550, in _exited_pipeline File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 7559, in _exited_pipeline File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 5546, in release_liabilities File "T:\InGame\Gameplay\Scripts\Server\interactions\base\interaction.py", line 5539, in release_liabilities File "T:\InGame\Gameplay\Scripts\Server\interactions\object_liabilities.py", line 66, in release File "T:\InGame\Gameplay\Scripts\Server\interactions\object_liabilities.py", line 44, in _return_objAttributeError: 'NoneType' object has no attribute 'get_inventory'rtim=0 Client Session Time: 135.67 Num Save Errors: 0 Num Load Errors: 0 Current Game State: 0x96d01090 LoadingScreenActiveFlag: 1 Origin Version: 13,0,0,5513 Modded: False SystemInfo: Windows 10 10.0.19045 GPU: NVIDIA GeForce GTX 1050 nvldumdx.dll 30.0.14.9649, GUID: D7B71E3E-5FCD-11CF-3D56-76A40EC2D335 </desyncdata></report>
</root>
Edit By Crinrict: Added Tag to Title