AH64_Jimbo
Refugee
I'm experiencing a similar problem, but in the vanilla game, not Darkness Falls;
After completing Tier 1 quests, and moving up to Tier 2 quests, talking to Trader Bob will sometimes throw an error when trying to get a new Tier 2 quest.
Here is the error when I try to talk to Trader Bob:
2023-02-03T11:02:58 529.609 ERR [XUi] Error while updating window group 'radial':
2023-02-03T11:02:58 529.613 EXC Object reference not set to an instance of an object.
A bit of background:
- Running Alpha 20.6
- This is for a modified vanilla-generated map
- No Mods running apart from MapToolz for map editing
- This instance of Trader Bob is one that I have placed (not generated by the RWG) as part of a new 'town' (Really an airport)
- All other Prefabs in this 'town' have also been placed by me, including RWG tiles, parts and quest-able POIs
- Some of these Prefabs have been created by me, including nine quest-able POIs; Two of which are Tier 1, and Two of which are Tier 2
- The rest of the placed Prefabs are all Funpimps generated, from the Prefab library
- I was able to successfully complete quests on my player-made Tier 1 POI's via Bob
- Some Tier 2 POIs worked just fine, too, before Bob throws an error
- Thus far I have been unable to test Tier 3+ POIs for this 'town' on this map
- Playtesting my player-made POI's in the Level/Prefab editor was completed successfully for all of my POI's
- I have tried 3 separate playthroughs, each with a new save; I always encounter the same error at some point when getting Tier 2 quests from this player-placed instance of Trader Bob
- Other RWG-placed trader Bobs as well as other traders in other towns on the map seem to work just fine
Conclusion:
There may be one or more Tier 2 POI's (either mine or the Funpimps) that I have placed in the world that are incomplete or have errors when Trader Bob tries to populate a list of quests.
Perhaps in Darkness Falls, a non-Funpimps created POIs may be causing a similar issue. Though, this is just a guess.
I would really like to hear more insight that you all may have.
FYI here is a more complete excerpt of the Error from the logs;
2023-02-03T11:02:58 529.609 ERR [XUi] Error while updating window group 'radial':
2023-02-03T11:02:58 529.613 EXC Object reference not set to an instance of an object.
at QuestEventManager.CheckForPOILockouts (System.Int32 entityId, UnityEngine.Vector2 prefabPos) [0x00029] in <ffc99a688d2b435db53bb46aed82ca49>:0
at DynamicPrefabDecorator.ValidPrefabForQuest (EntityTrader trader, PrefabInstance prefab, QuestTags questTag, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests, BiomeFilterTypes biomeFilterType, System.String biomeFilter) [0x00051] in <ffc99a688d2b435db53bb46aed82ca49>:0
at DynamicPrefabDecorator.GetRandomPOINearTrader (EntityTrader trader, QuestTags questTag, System.Byte difficulty, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests, BiomeFilterTypes biomeFilterType, System.String biomeFilter) [0x00038] in <ffc99a688d2b435db53bb46aed82ca49>:0
at ObjectiveRandomPOIGoto.GetPosition (EntityNPC ownerNPC, EntityPlayer entityPlayer, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00159] in <ffc99a688d2b435db53bb46aed82ca49>:0
at ObjectiveRandomPOIGoto.SetupPosition (EntityNPC ownerNPC, EntityPlayer player, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00000] in <ffc99a688d2b435db53bb46aed82ca49>:0
at Quest.SetupPosition (EntityNPC ownerNPC, EntityPlayer player, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00010] in <ffc99a688d2b435db53bb46aed82ca49>:0
at EntityTrader.PopulateActiveQuests (EntityPlayer player, System.Int32 currentTier) [0x0022f] in <ffc99a688d2b435db53bb46aed82ca49>:0
at EntityTrader.OnEntityActivated (System.Int32 _indexInBlockActivationCommands, Vector3i _tePos, EntityAlive _entityFocusing) [0x00069] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.handleEntityCommand (XUiC_Radial _sender, System.Int32 _commandIndex, XUiC_Radial+RadialContextAbs _context) [0x0000b] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.CallContextAction () [0x000b8] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.Update (System.Single _dt) [0x0011f] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00131] in <ffc99a688d2b435db53bb46aed82ca49>:0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()
After completing Tier 1 quests, and moving up to Tier 2 quests, talking to Trader Bob will sometimes throw an error when trying to get a new Tier 2 quest.
Here is the error when I try to talk to Trader Bob:
2023-02-03T11:02:58 529.609 ERR [XUi] Error while updating window group 'radial':
2023-02-03T11:02:58 529.613 EXC Object reference not set to an instance of an object.
A bit of background:
- Running Alpha 20.6
- This is for a modified vanilla-generated map
- No Mods running apart from MapToolz for map editing
- This instance of Trader Bob is one that I have placed (not generated by the RWG) as part of a new 'town' (Really an airport)
- All other Prefabs in this 'town' have also been placed by me, including RWG tiles, parts and quest-able POIs
- Some of these Prefabs have been created by me, including nine quest-able POIs; Two of which are Tier 1, and Two of which are Tier 2
- The rest of the placed Prefabs are all Funpimps generated, from the Prefab library
- I was able to successfully complete quests on my player-made Tier 1 POI's via Bob
- Some Tier 2 POIs worked just fine, too, before Bob throws an error
- Thus far I have been unable to test Tier 3+ POIs for this 'town' on this map
- Playtesting my player-made POI's in the Level/Prefab editor was completed successfully for all of my POI's
- I have tried 3 separate playthroughs, each with a new save; I always encounter the same error at some point when getting Tier 2 quests from this player-placed instance of Trader Bob
- Other RWG-placed trader Bobs as well as other traders in other towns on the map seem to work just fine
Conclusion:
There may be one or more Tier 2 POI's (either mine or the Funpimps) that I have placed in the world that are incomplete or have errors when Trader Bob tries to populate a list of quests.
Perhaps in Darkness Falls, a non-Funpimps created POIs may be causing a similar issue. Though, this is just a guess.
I would really like to hear more insight that you all may have.
FYI here is a more complete excerpt of the Error from the logs;
2023-02-03T11:02:58 529.609 ERR [XUi] Error while updating window group 'radial':
2023-02-03T11:02:58 529.613 EXC Object reference not set to an instance of an object.
at QuestEventManager.CheckForPOILockouts (System.Int32 entityId, UnityEngine.Vector2 prefabPos) [0x00029] in <ffc99a688d2b435db53bb46aed82ca49>:0
at DynamicPrefabDecorator.ValidPrefabForQuest (EntityTrader trader, PrefabInstance prefab, QuestTags questTag, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests, BiomeFilterTypes biomeFilterType, System.String biomeFilter) [0x00051] in <ffc99a688d2b435db53bb46aed82ca49>:0
at DynamicPrefabDecorator.GetRandomPOINearTrader (EntityTrader trader, QuestTags questTag, System.Byte difficulty, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests, BiomeFilterTypes biomeFilterType, System.String biomeFilter) [0x00038] in <ffc99a688d2b435db53bb46aed82ca49>:0
at ObjectiveRandomPOIGoto.GetPosition (EntityNPC ownerNPC, EntityPlayer entityPlayer, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00159] in <ffc99a688d2b435db53bb46aed82ca49>:0
at ObjectiveRandomPOIGoto.SetupPosition (EntityNPC ownerNPC, EntityPlayer player, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00000] in <ffc99a688d2b435db53bb46aed82ca49>:0
at Quest.SetupPosition (EntityNPC ownerNPC, EntityPlayer player, System.Collections.Generic.List`1[T] usedPOILocations, System.Int32 entityIDforQuests) [0x00010] in <ffc99a688d2b435db53bb46aed82ca49>:0
at EntityTrader.PopulateActiveQuests (EntityPlayer player, System.Int32 currentTier) [0x0022f] in <ffc99a688d2b435db53bb46aed82ca49>:0
at EntityTrader.OnEntityActivated (System.Int32 _indexInBlockActivationCommands, Vector3i _tePos, EntityAlive _entityFocusing) [0x00069] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.handleEntityCommand (XUiC_Radial _sender, System.Int32 _commandIndex, XUiC_Radial+RadialContextAbs _context) [0x0000b] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.CallContextAction () [0x000b8] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUiC_Radial.Update (System.Single _dt) [0x0011f] in <ffc99a688d2b435db53bb46aed82ca49>:0
at XUi.OnUpdateDeltaTime (System.Single updateDeltaTime) [0x00131] in <ffc99a688d2b435db53bb46aed82ca49>:0
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:OnUpdateDeltaTime(Single)
XUiUpdater:Update()
XUiUpdateHelper:LateUpdate()