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

Can not enter anything in UI and configure the portal #93

Closed wjuszczyk closed 5 months ago

wjuszczyk commented 9 months ago

Describe the bug When trying to configure portal UI window is visible but can not type anything.

To Reproduce Configure portal.

Expected behaviour UI is usable and configuration possible.

LogOutput file(s) [Error : Unity Log] MissingFieldException: Field not found: System.Collections.Generic.Dictionary`2<TMPro.TMP_Text, 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) (wrapper dynamic-method) TeleportWorld.DMD(TeleportWorld,Humanoid,bool,bool) (wrapper dynamic-method) Player.DMD(Player,UnityEngine.GameObject,bool,bool) (wrapper dynamic-method) Player.DMD(Player)

and

[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object Stack trace: 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) (wrapper dynamic-method) TeleportWorld.DMD(TeleportWorld,Humanoid,bool,bool) (wrapper dynamic-method) Player.DMD(Player,UnityEngine.GameObject,bool,bool) (wrapper dynamic-method) Player.DMD(Player)

Version 1.2.20

Environment

Priority

SpikeHimself commented 8 months ago

Hi @wjuszczyk, thank you for reporting this issue.

Can you please attach your log file so I can investigate your issue?

SpikeHimself commented 5 months ago

Closing this issue because I can not reproduce it, and I did not receive feedback. If you're still having this problem please let me know.