Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Resolved Remote Config Not Opening

Discussion in 'Unity Remote Config' started by Norteous3, Mar 21, 2023.

  1. Norteous3

    Norteous3

    Joined:
    Jan 2, 2023
    Posts:
    16
    Hello, I'm decently new to Unity and I was attempting to use remote config but it just prints out a long error every time I try to open it. I have uninstalled and reinstalled remote config without success. Here is the full error:

    NullReferenceException: Object reference not set to an instance of an object
    Unity.RemoteConfig.Editor.RemoteConfigWindowController..ctor (System.Boolean shouldFetchOnInit, System.Boolean windowOpenOnInit) (at Library/PackageCache/com.unity.remote-config@2.1.2/Editor/RemoteConfigWindowController.cs:43)
    Unity.RemoteConfig.Editor.RemoteConfigWindow.InitIfNeeded () (at Library/PackageCache/com.unity.remote-config@2.1.2/Editor/RemoteConfigWindow.cs:171)
    Unity.RemoteConfig.Editor.RemoteConfigWindow.OnGUI () (at Library/PackageCache/com.unity.remote-config@2.1.2/Editor/RemoteConfigWindow.cs:131)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <36f62d8e760b48f7af5d32916f997ce1>:0)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <36f62d8e760b48f7af5d32916f997ce1>:0)
    UnityEditor.DockArea.OldOnGUI () (at <36f62d8e760b48f7af5d32916f997ce1>:0)
    UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <cd953b8fb97946ec96d4a808bc44e727>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

    If anyone knows how to fix this it would be very helpful.
     
  2. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    189
    What version of the editor are you using?
     
  3. Norteous3

    Norteous3

    Joined:
    Jan 2, 2023
    Posts:
    16
    2021.3.4f1
     
  4. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    189
    Can you try updating your Remote config Package to the latest?

    You can do so via the package manager

    upload_2023-3-23_12-1-57.png

    com.unity.remote-config


    upload_2023-3-23_12-2-23.png
     
  5. Norteous3

    Norteous3

    Joined:
    Jan 2, 2023
    Posts:
    16
    Just updated it to 3.3.1, same issue.
     
  6. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    189
    Can you DM me with an uploaded RemoteConfig Folder from Project > Assets > Editor > RemoteConfig

    I want to compare if there might be a corrupted file.
     
  7. Norteous3

    Norteous3

    Joined:
    Jan 2, 2023
    Posts:
    16
    When I was getting the file I found that for some reason it got put under a random asset. I moved it the the correct location and it seems to be working now! Thank you for your help.
     
    Julian-Unity3D likes this.
  8. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    189
    I'd be interested to know which random asset the folder go put under. That way we can find out out end what might be interfering and offer a fix in a new update :D