Welcome to the AFK Mods bug tracker. In order to report an issue, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

An account will be required to submit an issue, so if you need one and are unable to register, please contact us via the forums at https://afkmods.iguanadons.net/
       

Issue Data
Status: Fix Pending
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vault-Tec Workshop DLC
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By BlackPete on Dec 24, 2017 4:56 am
Last Edited By Sclerocephalus on Sep 19, 2018 5:31 pm

Issue #23381: QF_DLC06CompanionTracker_01003DE1: Cannot call AddTextReplacementData() on a None object

[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0101_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 98
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0102_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 110
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0103_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 122
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0104_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 134
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0105_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 146
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0106_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 158
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0107_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 170
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0108_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 182
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0109_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 194
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0110_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 206
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0111_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 218
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0112_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 230
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0113_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 242
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0114_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 254
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0115_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 266
[12/24/2017 - 01:45:27AM] error: Cannot call AddTextReplacementData() on a None object, aborting function call
stack:
[DLC06CompanionTracker (05003DE1)].DLC06:DLC06CompanionTrackerScript.ToggleObjectives() - "g:\_F4\DLC06\Art\Raw\Scripts\DLC06\DLC06CompanionTrackerScript.psc" Line 36
[DLC06CompanionTracker (05003DE1)].DLC06:Fragments:Quests:QF_DLC06CompanionTracker_01003DE1.Fragment_Stage_0116_Item_00() - "C:\Steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DLC06\Fragments\Quests\QF_DLC06CompanionTracker_01003DE1.psc" Line 278

       
Related Issues: 23621  

Comments

2 comment(s)
Sclerocephalus said:
Moved the Cannot call IsInFaction() on a None object errors from your original post to a new ticket (#23621) because they are a different bug.

This one should be impossible to happen because the terminal writes its reference in the oTerminal property of DLC06.DLC06CompanionTrackerScript as soon as you select the tracker in the on-screen menu. So why should that script complain about the property being none ?

       
Comment #1 Jan 28, 2018 12:10 pm  Edited by BlackPete on May 10, 2018 2:40 am
Sclerocephalus said:
That was a tough one. It's the result of a weird engine issue.

The companion tracker quest is enabled from game start and has a 'Run on Start' flag on stage 1. That flag makes it that the quest starts with the flagged stage and skips all previous stages. There is one previous stage existing, stage 0, and it calls the ToggleObjectives() function on DLC06CompanionTrackerScript for all companions in a row. If that stage would run at game start, you would get a wall of errors on the log because the terminal property on DLC06CompanionTrackerScript is not initialized (it doesn't get initialized until the player activates the tracker terminal). Thus, skipping this stage makes sense. It would have made more sense, of course, to compile it down to a stub because it is apparently not needed, but hey, it's Bethesda !

Now, after Arthmoor modified the quest to include Codsworth, the quest "restarted" (technically, this may not be the most appropriate term, but it describes pretty well what apparently happened): it re-ran its start fragment(s). For unknown reasons however, the 'Run on Start' flag was completely disregarded and it ran the stage 0 fragment. I suppose that you hadn't activated the tracker terminal yet when you upgraded your UFO4P, so the terminal property on DLC06CompanionTrackerScript was still none and all calls failed with an error (one for every potential follower).

Anyway, DLC06CompanionTrackerScript should not run before the terminal property has been initialized, so I added a sanity check to the script.

       
Showing Comments 1 - 2 of 2