Strange bug during "Stronghold of the Blades" quest [RESOLVED]

Locked
WereBeast
Posts: 5
Joined: Wed May 29, 2019 1:50 pm

Strange bug during "Stronghold of the Blades" quest [RESOLVED]

Post by WereBeast »

When doing the main quest for the Underking and after you receive the letter from one of his agents with his exact location, if you travel to the city the agent mentioned using the Mages Guild teleporter service then uppon arriving you may encounter a game breaking bug when if you check your inventory before meeting the agent, the inventory screen will appear but you will be unable to click on any icons or interact with it in any other way and it will obstruct your view.
You will also find out, that you can move your camera while the inventory screen is still visible and that there is no way to leave when pressing either F5, F6 or escape button.
If you travel to the city normaly, using standard fast travel, then the letter of the agent will dissapear from your inventory upon arriving at the city making him very difficult to locate.
There is a way to solve this issue however.
Use the guild teleporter and travel to the city but do not acces your inventory to check where he is residing in the town, find the building where he is, and after speaking to him you can access your inventory once more.
I will attach my save file, so you can better understand this issue.

Instructions: Upon loading the save, talk to the mage teleporter in front of you and travel to the city called Zenahajet in Sentinel, after arriving, check your inventory to trigger the bug

Platform: Windows 10 64 bit
build: 0.7.146
Data Path: C:\Users\Username\AppData\LocalLow\Daggerfall Workshop\Daggerfall Unity
Save game location : D:\ Games\Daggerfall Unity\Saves
Attachments
output_log.rar
(5.62 KiB) Downloaded 76 times
SAVE0.rar
(298.51 KiB) Downloaded 78 times

User avatar
Jay_H
Posts: 4072
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Strange bug during "Stronghold of the Blades" quest

Post by Jay_H »

I don't think this is specific to SotB. It sounds similar to another report previously made for a different quest, and I also suffered it frequently while writing a custom quest this weekend. I think something's happened in the most recent build.

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Strange bug during "Stronghold of the Blades" quest

Post by pango »

I could reproduce the issue...

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
  at DaggerfallWorkshop.PlayerGPS.UndiscoverBuilding (Int32 buildingKey, Boolean onlyIfResidence) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.TalkManager.UndiscoverQuestResidence (UInt64 questID, System.String resourceName, DaggerfallWorkshop.Game.QuestResourceInfo questResourceInfo) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.TalkManager.AddDialogForQuestInfoResource (UInt64 questID, System.String resourceName, QuestInfoResourceType resourceType, Boolean instantRebuildTopicLists) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Utility.QuestMacroHelper.ExpandQuestMessage (DaggerfallWorkshop.Game.Questing.Quest parentQuest, .Token[]& tokens, Boolean revealDialogLinks) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.Questing.Message.GetTextTokens (Int32 variant, Boolean expandMacros) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.Items.ItemHelper.ResolveItemLongName (DaggerfallWorkshop.Game.Items.DaggerfallUnityItem item) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.Items.DaggerfallUnityItem.get_LongName () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.ItemListScroller.UpdateItemsDisplay (Boolean delayScrollUp) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.ItemListScroller.set_Items (System.Collections.Generic.List`1 value) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallInventoryWindow.SelectTabPage (TabPages tabPage) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallInventoryWindow.ClothingAndMisc_OnMouseClick (DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent sender, Vector2 position) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent/OnMouseClickHandler:invoke_void__this___BaseScreenComponent_Vector2 (DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent,UnityEngine.Vector2)
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.MouseClick (Vector2 clickPosition) [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.BaseScreenComponent.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Button.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.Panel.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterface.UserInterfaceWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallBaseWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallPopupWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.UserInterfaceWindows.DaggerfallInventoryWindow.Update () [0x00000] in <filename unknown>:0 
  at DaggerfallWorkshop.Game.DaggerfallUI.Update () [0x00000] in <filename unknown>:0 
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 3359
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Strange bug during "Stronghold of the Blades" quest

Post by pango »

It is fixed by commit "Fix unhandled null exception when no building discovered" by Hazelnut.

So yes, definitely a duplicate of above bug report.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Locked