Ideas

inklerss's avatar
inklerss
New Spectator
13 days ago
Status:
Reviewed

LastException during travel: VehicleLiabilities.py error

Product and Version
The Sims 4 (PC/Mac) — Patch 1.118.257.1220

Platform: macOS (Apple Silicon / Metal)
Mods/CC Installed? No. This occurred in a vanilla game with no Mods or CC.

Issue Summary

The game generates repeated LastException logs referencing vehicle_liabilities.py:307. The error states:

AttributeError: 'NoneType' object has no attribute 'can_transition_over_node'

I did not receive any in-game LastException popup, and the game did not crash, but I did notice slowdown and slight glitchiness before I found the logs. Since this occurred in vanilla, I believe this is a core game issue.

Steps to Reproduce

I do not know the exact trigger. I was playing normally in a new save with the latest pack installed when the slowdown and glitch occurred. I later discovered the LastException logs in my Sims 4 folder.

I suspect it may occur when Sims/NPCs attempt to use vehicles, or during routing while traveling/entering a lot. Exact reproducibility is unclear.

What I Expected to Happen

Sims should route or travel without generating errors.

What Actually Happened

The game produced repeated LastException logs (attached). The error trace shows a failure in vehicle routing logic during _get_close_to_deploy.

Error Trace Snippet (from log)

File "T:\InGame\Gameplay\Scripts\Server\vehicles\vehicle_liabilities.py", line 307, in _get_close_to_deploy

AttributeError: 'NoneType' object has no attribute 'can_transition_over_node'

Frequency

Happened multiple times in one session. Generated several LastException files in the same play session.

[CM - Edited - minor formatting]

9 Comments

  • Hi inklerss​ 

    could you please copy/paste the entire LastException. You cannot attach them as they contain XML code.

  • MCCC LE Report

    This has just happened to me. I do have mods installed. My sim was on their home lot with no travel action queued.

    Last Exception
    <?xml version="1.0" ?><root>
    <BetterExceptions><BEversion>v3.04</BEversion><WasBlank>False</WasBlank><TuningLoadFinished>True</TuningLoadFinished><BadObjectCC>False</BadObjectCC><Advice>Not available. More info may be in BE Report.</Advice></BetterExceptions><report><version>2</version><sessionid>2b81a14e490a570a68e136a6</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-10-04 16:08:24</createtime><buildsignature>Local.Unknown.Unknown.1.118.257.1020-1.300.000.223.Release</buildsignature><categoryid>vehicle_liabilities.py:307</categoryid><desyncid>2b81a14e490a570a68e136a6</desyncid><systemconfig/><screenshot/><desyncdata>Exception in prepare_gen for super interaction. (AttributeError: 'NoneType' object has no attribute 'can_transition_over_node')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 323, in _get_close_to_deploy&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 307, in get_start_node_index_for_path&#13;&#10;AttributeError: 'NoneType' object has no attribute 'can_transition_over_node'rtim=0&#13;&#10;Client Session Time: 46.14&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0x96d01090&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,560,0,6073&#13; &#10;Modded: True&#13; &#10;SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 4070  32.0.15.6590, GUID: 41D048E0-8F44-11EF-91A6-83735253C35D&#13; &#10;</desyncdata></report>
    </root>

  • <report><version>2</version><sessionid>f86d03bf942d9c1168e2491b</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-10-05 19:48:22</createtime><buildsignature>Local.Unknown.Unknown.1.118.257.1020-1.300.000.223.Release</buildsignature><categoryid>vehicle_liabilities.py:307</categoryid><desyncid>f86d03bf942d9c1168e2491b</desyncid><systemconfig/><screenshot/><desyncdata>Exception in prepare_gen for super interaction. (AttributeError: 'NoneType' object has no attribute 'can_transition_over_node')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 323, in _get_close_to_deploy&#13;&#10; File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 307, in get_start_node_index_for_path&#13;&#10;AttributeError: 'NoneType' object has no attribute 'can_transition_over_node'rtim=0&#13;&#10;Client Session Time: 72.69&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0x96d01090&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,566,0,6079&#13; &#10;Modded: True&#13; &#10;SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 2070 with Max-Q Design 32.0.15.7283, GUID: A2DCCF94-CFCC-11EF-86E1-FF0824028D53&#13; &#10;</desyncdata></report>

  • crinrict's avatar
    crinrict
    Hero+
    12 days ago

    Do you have one that isn't from a modded game ?

    Bug forum is ONLY for issues tested on a vanilla game.

  • richvh's avatar
    richvh
    Seasoned Veteran
    9 days ago

    Three exceptions in one gaming session. Not entirely sure if I had mods earlier in this save, but definitely didn't when the exceptions occurred.

    Spoiler

    <?xml version="1.0" ?><root>
    <report><version>2</version><sessionid>fcd665fcbee4e21e68e6543a</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-10-08 09:40:36</createtime><buildsignature>Local.Unknown.Unknown.1.118.257.1020-1.300.000.223.Release</buildsignature><categoryid>posture_graph.py:5261</categoryid><desyncid>fcd665fcbee4e21e68e6543a</desyncid><systemconfig/><screenshot/><desyncdata>[rez] Posture graph threw an exception while being queried by autonomy: (AssertionError: Source spec not in the posture graph: stand@object_paintEaselGEN_01:0x090c01eb5dd90027, carry, surface:slot_target@object_paintEaselGEN_01:0x090c01eb5dd90027 for interaction:  running canvas_PaintPainting_Staging_Medium:29903 on object_Canvas_large:0x0ee11568f1992d66  (guaranteed))&#13;&#10;Traceback (most recent call last):&#13;&#10;Caught and logged:&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\postures\transition_sequence.py", line 3038, in _get_transitions_for_sim&#13;&#10;  File "postures\posture_graph.py", line 5261, in postures.posture_graph.PostureGraphService.get_segmented_paths&#13;&#10;AssertionError: Source spec not in the posture graph: stand@object_paintEaselGEN_01:0x090c01eb5dd90027, carry, surface:slot_target@object_paintEaselGEN_01:0x090c01eb5dd90027 for interaction:  running canvas_PaintPainting_Staging_Medium:29903 on object_Canvas_large:0x0ee11568f1992d66  (guaranteed)rtim=0&#13;&#10;Client Session Time: 35.06&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0x96d01090&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,566,0,6079&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 3060 Laptop GPU  32.0.15.6607, GUID: 3570AB96-EDF0-11EF-8AAF-D575D18A1133&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>fcd665fcbee4e21e68e6543a</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-10-08 13:10:04</createtime><buildsignature>Local.Unknown.Unknown.1.118.257.1020-1.300.000.223.Release</buildsignature><categoryid>posture.py:2698</categoryid><desyncid>fcd665fcbee4e21e68e6543a</desyncid><systemconfig/><screenshot/><desyncdata>Exception in Sim Timeline: Exception running Element (RuntimeError: Posture Exit(posture_CarryNothing:4655) called multiple times without a paired entry or never called (PrimitiveCreated: True). Sim ID: 974208431844167720. Last affordance: &lt;class 'sims4.tuning.instances.solo_Stargazing_Autonomous_Anywhere'&gt;. Current lot description id: 479407.)&#13;&#10;Traceback (most recent call last):&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\scheduling.py", line 231, in simulate&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\elements.py", line 376, in _run&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\postures\posture.py", line 2698, in _do_end&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\postures\posture.py", line 2679, in get_endRuntimeError: Posture Exit(posture_CarryNothing:4655) called multiple times without a paired entry or never called (PrimitiveCreated: True). Sim ID: 974208431844167720. Last affordance: &lt;class 'sims4.tuning.instances.solo_Stargazing_Autonomous_Anywhere'&gt;. Current lot description id: 479407.rtim=0&#13;&#10;Client Session Time: 35.06&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0x96d01090&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,566,0,6079&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 3060 Laptop GPU  32.0.15.6607, GUID: 3570AB96-EDF0-11EF-8AAF-D575D18A1133&#13; &#10;</desyncdata></report>
    <report><version>2</version><sessionid>fcd665fcbee4e21e68e6543a</sessionid><type>desync</type><sku>ea.maxis.sims4_64.15.pc</sku><createtime>2025-10-08 13:19:37</createtime><buildsignature>Local.Unknown.Unknown.1.118.257.1020-1.300.000.223.Release</buildsignature><categoryid>vehicle_liabilities.py:307</categoryid><desyncid>fcd665fcbee4e21e68e6543a</desyncid><systemconfig/><screenshot/><desyncdata>Exception in prepare_gen for super interaction. (AttributeError: 'NoneType' object has no attribute 'can_transition_over_node')&#13;&#10;Traceback (most recent call last):&#13;&#10;&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 323, in _get_close_to_deploy&#13;&#10;  File "T:\InGame\Gameplay\Scripts\Server\interactions\vehicle_liabilities.py", line 307, in get_start_node_index_for_path&#13;&#10;AttributeError: 'NoneType' object has no attribute 'can_transition_over_node'rtim=0&#13;&#10;Client Session Time: 35.06&#13; &#10;Num Save Errors: 0&#13; &#10;Num Load Errors: 0&#13; &#10;Current Game State: 0x96d01090&#13; &#10;LoadingScreenActiveFlag: 1&#13; &#10;Origin Version: 13,566,0,6079&#13; &#10;Modded: False&#13; &#10;SystemInfo: Windows 11 10.0.26100 GPU: NVIDIA GeForce RTX 3060 Laptop GPU  32.0.15.6607, GUID: 3570AB96-EDF0-11EF-8AAF-D575D18A1133&#13; &#10;</desyncdata></report>
    </root>