Question Major Crash

Discussion in 'SS Help (Mod Questions Here)' started by Wallen, Jun 11, 2019.

Tags:
  1. Wallen

    Wallen New Member

    Joined:
    Jun 11, 2019
    Messages:
    1
    Likes Received:
    0

    This causes an instant CTD:

    [06/11/2019 - 08:13:32PM] error: (FF007830): the animation graph (Workshop) cannot currently process event "TurnOn".
    stack:
    [ (FF007830)].simsettlements:asamsensor.PlayAnimation() - "<native>" Line ?
    [ (FF007830)].simsettlements:asamsensor.OnPowerOn() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 50
    [ (FF002D51)].simsettlements:simplot.ObjectSpawned() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 1600
    [ (FF002D51)].simsettlements:simplot.UpdateIndicators() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1738
    [ (FF002D51)].autobuilder:autobuildplot.UnlockLevel() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1244

    <truncated stack>
    [06/11/2019 - 08:13:34PM] error: Cannot call getLinkedRef() on a None object, aborting function call
    stack:
    [ (FF005B33)].simsettlements:asamsensor.OnLoad() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 31
    [06/11/2019 - 08:13:40PM] error: Cannot call GetFormID() on a None object, aborting function call
    stack:
    [ (FF0041B1)].simsettlements:asamsensor.OnLoad() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 20
    [06/11/2019 - 08:13:40PM] warning: Assigning None to a non-object variable named "::temp0"
    stack:
    [ (FF0041B1)].simsettlements:asamsensor.OnLoad() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 20
    [06/11/2019 - 08:13:40PM] error: (FF0041B1): the animation graph (Workshop) cannot currently process event "Reset".
    stack:
    [ (FF0041B1)].simsettlements:asamsensor.PlayAnimation() - "<native>" Line ?
    [ (FF004AB7)].simsettlements:simplot.DisconnectFromGrid() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 3267
    [ (FF004AB7)].simsettlements:simplot.ObjectSpawned() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 1591
    [ (FF004AB7)].simsettlements:simplot.UpdateIndicators() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1738
    [ (FF004AB7)].autobuilder:autobuildplot.UnlockLevel() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1244

    <truncated stack>
    [06/11/2019 - 08:13:40PM] error: (FF0041B1): the animation graph (Workshop) cannot currently process event "TurnOn".
    stack:
    [ (FF0041B1)].simsettlements:asamsensor.PlayAnimation() - "<native>" Line ?
    [ (FF0041B1)].simsettlements:asamsensor.OnPowerOn() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 50
    [ (FF004AB7)].simsettlements:simplot.ObjectSpawned() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 1600
    [ (FF004AB7)].simsettlements:simplot.UpdateIndicators() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1738
    [ (FF004AB7)].autobuilder:autobuildplot.UnlockLevel() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\AutoBuilder\AutoBuildPlot.psc" Line 1244

    <truncated stack>
    [06/11/2019 - 08:14:41PM] error: (FF007703): the animation graph (Workshop) cannot currently process event "TurnOff".
    stack:
    [ (FF007703)].simsettlements:asamsensor.PlayAnimation() - "<native>" Line ?
    [ (FF007703)].simsettlements:asamsensor.OnPowerOff() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\ASAMSensor.psc" Line 59
    [ (FF002482)].simsettlements:simplot.ResyncPoweredItems() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 3136
    [ (FF002482)].simsettlements:simplot.HandleCellLoaded() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimPlot.psc" Line 694
    [kgSIM_SIMSettlementParent (0B002E0E)].simsettlements:simparentscript.ProcessPlotEvents() - "C:\Program Files (x86)\Steam\SteamApps\common\Fallout 4\Data\Scripts\Source\User\SimSettlements\SimParentScript.psc" Line 1684
     
  2. Xeteco

    Xeteco New Member

    Joined:
    Jun 8, 2018
    Messages:
    25
    Likes Received:
    11

    Ok, now on a coding note, one thing that I put in almost all of my functions that were in critical code areas was a check for a null pointer before use. It's extra processing but allows for a clean punch out vs. crash.
    In this particular code you could trap for Null where this assignment is happening:
    {warning: Assigning None to a non-object variable named "::temp0" }
    or before calling { getLinkedRef() } check for null
    The other thing I did was in the event I fully expected a non-null and I got one I would be sure to log that in my error log so I could then back trace and find out why on earth that happened.
     

Share This Page