Welcome to the AFK Mods bug tracker. In order to report an issue, you need to have a VALIDATED account to post one. Once you have followed the link the registration email sent you, 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.

Please also consider sending your bug report to Bethesda if you are reporting on an issue with Skyrim Special Edition, Fallout 4, or Starfield. Doing so will help everyone on all platforms.

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Fallout 4: Vanilla
Category: Papyrus
Assigned To: Sclerocephalus
Platform: All
Severity: Low
Votes: 0
Watching: N/A
Opened By BlackPete on Jan 21, 2019 5:26 am
Last Edited By BlackPete on Feb 18, 2019 7:33 am
Closed By Arthmoor on Jul 10, 2019 1:32 am
Resolution: Fixed
Comment: Fixed for UFO4P 2.0.8.

Issue #25840: CompanionCrimeFactionHostilityScript: Cannot call IsPlayerEnemy() on a None object

 
01/20/2019 - 01:19:33AM] error: Cannot call IsPlayerEnemy() on a None object, aborting function call
stack:
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 32
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20
[01/20/2019 - 01:19:33AM] warning: Assigning None to a non-object variable named "::temp13"
stack:
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 32
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20
[01/20/2019 - 01:25:17AM] error: Cannot call IsFactionInCrimeGroup() on a None object, aborting function call
stack:
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 54
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20
[01/20/2019 - 01:25:17AM] warning: Assigning None to a non-object variable named "::temp29"
stack:
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.TestForSharedCrimeCombatants() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 54
[ (0005DE4D)].CompanionCrimeFactionHostilityScript.OnTimer() - "g:\_F4\Art\Raw\Scripts\CompanionCrimeFactionHostilityScript.psc" Line 20

Note: These errors spam your papyrus log like crazy if you decide to spare Danse's life and have him as a follower after that. Obviously, you're an enemy to the BoS when he's a companion since he got banished. The errors appear to have something to do with that if I had to guess.

Comments

1 comment(s) [Closed]
Sclerocephalus said:
 
During Blind Betrayal, he is removed from all factions. From this point on, the GetCrimeFaction() call on this script returns 'none' and there are no sanity checks to handle a 'none' faction. Since this code runs repeatedly on a timer event, there will be much log spam resulting.

Showing Comments 1 - 1 of 1