SpikeHimself / XPortal

XPortal is a Valheim mod that lets you select a portal's destination from a list. XPortal is a complete rewrite of AnyPortal.
GNU General Public License v3.0
19 stars 6 forks source link

Latest Jotunn update broke XPortal: Dialog Window not working anymore #83

Closed SolSeptem closed 8 months ago

SolSeptem commented 8 months ago

Describe the bug When interacting with the portal, the window is not dismissable, and fields cant be interacted with. this blocks the game from being played because the window stays in your face. This ocurred only after updating to Jotunn 2.15.1

BepInEx log is as follows:

[Error : Unity Log] MissingFieldException: Field not found: System.Collections.Generic.Dictionary`2<TMPro.TextMeshProUGUI, string> .Localization.textMeshStrings Due to: Could not find field in class Stack trace: XPortal.UI.PortalConfigurationPanel.AddGamepadHint (UnityEngine.GameObject go, System.String buttonName, UnityEngine.KeyCode keyCode) (at :0) XPortal.UI.PortalConfigurationPanel.InitialiseUI () (at :0) XPortal.UI.PortalConfigurationPanel.ConfigurePortal (XPortal.KnownPortal portal) (at :0) XPortal.XPortal.OnPortalRequestText (ZDOID portalId) (at :0) XPortal.Patches.TextInput_RequestText.Prefix (TextReceiver sign) (at :0) (wrapper dynamic-method) TextInput.DMD(TextInput,TextReceiver,string,int) TeleportWorld.Interact (Humanoid human, System.Boolean hold, System.Boolean alt) (at :0) (wrapper dynamic-method) Player.DMD(Player,UnityEngine.GameObject,bool,bool) (wrapper dynamic-method) Player.DMD(Player)

To Reproduce Update Jotunn to the latest version and try to interact with a portal.

Expected behaviour Expected is that the window works as before the update to jotunn 2.15.1

LogOutput file(s) see above

Version 1.2.19

Environment Singleplayer

Other mods

many but none involving portals. Things I can think of that might interact are

AzuExtendedPlayerInventory SearsCatalog All Warfare mods by Therzie

Priority

Additional information

waylonflinn commented 8 months ago

Confirmed. Same issue for me.

SolSeptem commented 8 months ago

the Jotunn 2.15.2 update did not change anything it seems. Issue persists

Tripnip commented 8 months ago

My portals are also broken. only update i had was for BepInExPack_Valheim by denikson but we both share the AzuExtendedPlayerInventory Mod so just putting that out there

Vikingtons commented 8 months ago

Wasn't this caused by the Valheim 0.217.38 patch?

SpikeHimself commented 8 months ago

Thanks for reporting everyone. v1.2.20 should have fixed this issue, let me know if you run into any problems.