Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity SDK] Config Dialog not saving data #250

Open
christopherferreira9 opened this issue Aug 1, 2023 · 0 comments
Open

[Unity SDK] Config Dialog not saving data #250

christopherferreira9 opened this issue Aug 1, 2023 · 0 comments
Assignees
Labels

Comments

@christopherferreira9
Copy link
Collaborator

Describe the bug
The config dialog in the Unity Editor is not saving the input data and it is throwing the following errors:

NullReferenceException: Object reference not set to an instance of an object
MetaMask.Unity.MetaMaskWindow.LoadSettings (MetaMask.Unity.MetaMaskConfig metaMaskConfig, MetaMask.Transports.Unity.UI.MetaMaskUnityUITransport metaMaskUIConfig, MetaMask.Unity.MetaMaskWindow window) (at Assets/MetaMask/Editor/EditorGUI/MetaMaskWindow.cs:246)
MetaMask.Unity.MetaMaskWindow.ShowWindow () (at Assets/MetaMask/Editor/EditorGUI/MetaMaskWindow.cs:86)
GUI Error: Invalid GUILayout state in MetaMaskWindow view. Verify that all layout Begin/End calls match
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:190)

To Reproduce
Steps to reproduce the behaviour:

  1. In the Unity Editor go to: Window -> MetaMask -> Setup Window
  2. Change a few of the values
  3. Press Apply
  4. See error

Expected behaviour

  • To be reworked to a better approach

Screenshots

** Provide environment information**

  • MetaMask Unity plugin v1.1.3

Additional context

@christopherferreira9 christopherferreira9 added the Bug Triage Unity Issues to be triaged in the next session label Oct 17, 2023
@christopherferreira9 christopherferreira9 removed the Bug Triage Unity Issues to be triaged in the next session label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants