Unofficial Fallout 4 Patch

  • Status Fix Pending
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Papyrus
  • Assigned To
    Sclerocephalus
  • Operating System All
  • Severity Low
  • Priority Medium
  • Reported Version Fallout 4: Vanilla
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Unofficial Fallout 4 Patch
Opened by Sclerocephalus - March 31 2017
Last edited by Sclerocephalus - March 31 2017

FS#22250 - abProtectronRaceScript - Cannot call startInPod() on a None object

[03/31/2017 - 03:17:10AM] error: Cannot call startInPod() on a None object, aborting function call
stack:

[Active effect 1 on  (FF08E375)].abProtectronRaceScript.OnEffectStart() - "g:\_F4\Art\Raw\ScriptsMilestone\abProtectronRaceScript.psc" Line 31

[03/31/2017 - 03:17:10AM] warning: Assigning None to a non-object variable named “::startInPod_var” stack:

[Active effect 1 on  (FF08E375)].abProtectronRaceScript.OnEffectStart() - "g:\_F4\Art\Raw\ScriptsMilestone\abProtectronRaceScript.psc" Line 31

This script tries to read a property from another script that is apparently not existing on some protectrons. The fun thing is that the property to be read out does already exist as a property with the same name on abProtectronRaceScript. Thus, if that other script is missing, this script proceeds with the value from its own property anyway, and this always works (because we never see any protectrons standing besides their empty pods in the game; that’s what this property handles).

A look at code of the missing script showed that this once had more than 100 lines but all of them were commented out except for two property definitions (a script note says that this is now used only as a data holder). Considering that one of these properties is duplicated on abProtectronRaceScript anyway, it may well be rhat the devs stopped using that script at some point entirely.

Therefore, I simply added a sanity check. This eliminated the log spam entirely and had no unexpected in-game effects.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing