Remote Config Not Opening

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 :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

If anyone knows how to fix this it would be very helpful.

What version of the editor are you using?

2021.3.4f1

Can you try updating your Remote config Package to the latest?

You can do so via the package manager

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

com.unity.remote-config

8897187--1216983--upload_2023-3-23_12-2-23.png

Just updated it to 3.3.1, same issue.

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.

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.

1 Like

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 :smile: