- Home /
Remote Config gives me a NullReferenceException error
The Error happens when I try to open the Remote Config window.
The script that takes the value from the Remote Config works though , I just can't open the RC window.
whole error :
NullReferenceException: Object reference not set to an instance of an object Unity.RemoteConfig.Editor.RemoteConfigDataManager..ctor () (at Library/PackageCache/com.unity.remote-config@1.0.9/Editor/RemoteConfigDataManager.cs:52) Unity.RemoteConfig.Editor.RemoteConfigWindowController..ctor (System.Boolean shouldFetchOnInit) (at Library/PackageCache/com.unity.remote-config@1.0.9/Editor/RemoteConfigWindowController.cs:44) Unity.RemoteConfig.Editor.RemoteConfigWindow.InitIfNeeded () (at Library/PackageCache/com.unity.remote-config@1.0.9/Editor/RemoteConfigWindow.cs:205) Unity.RemoteConfig.Editor.RemoteConfigWindow.OnGUI () (at Library/PackageCache/com.unity.remote-config@1.0.9/Editor/RemoteConfigWindow.cs:139) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at :0) > Rethrow as TargetInvocationException: > Exception has been thrown by the > target of an invocation. > System.Reflection.MonoMethod.Invoke > (System.Object obj, > System.Reflection.BindingFlags > invokeAttr, System.Reflection.Binder > binder, System.Object[] parameters, > System.Globalization.CultureInfo > culture) (at > :0) > System.Reflection.MethodBase.Invoke > (System.Object obj, System.Object[] > parameters) (at > :0) > UnityEditor.HostView.Invoke > (System.String methodName, > System.Object obj) (at > :0) > UnityEditor.HostView.Invoke > (System.String methodName) (at > :0) > UnityEditor.HostView.InvokeOnGUI > (UnityEngine.Rect onGUIPosition, > UnityEngine.Rect viewRect) (at > :0) > UnityEditor.DockArea.DrawView > (UnityEngine.Rect viewRect, > UnityEngine.Rect dockAreaRect) (at > :0) > UnityEditor.DockArea.OldOnGUI () (at > :0) > UnityEngine.UIElements.IMGUIContainer.DoOnGUI > (UnityEngine.Event evt, > UnityEngine.Matrix4x4 parentTransform, > UnityEngine.Rect clippingRect, > System.Boolean isComputingLayout, > UnityEngine.Rect layoutSize, > System.Boolean canAffectFocus) (at > :0) > UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent > (UnityEngine.Event e, > UnityEngine.Matrix4x4 worldTransform, > UnityEngine.Rect clippingRect, > System.Boolean canAffectFocus) (at > :0) > UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent > (UnityEngine.Event e, System.Boolean > canAffectFocus) (at > :0) > UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI > (UnityEngine.UIElements.EventBase evt, > System.Boolean canAffectFocus) (at > :0) > UnityEngine.UIElements.IMGUIContainer.HandleEvent > (UnityEngine.UIElements.EventBase evt) > (at > :0) > UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent > (UnityEngine.UIElements.EventBase evt) > (at > :0) > UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent > (UnityEngine.UIElements.EventBase evt, > UnityEngine.UIElements.IPanel panel) > (at > :0) > UnityEngine.UIElements.EventDispatcher.ProcessEvent > (UnityEngine.UIElements.EventBase evt, > UnityEngine.UIElements.IPanel panel) > (at > :0) > UnityEngine.UIElements.EventDispatcher.ProcessEventQueue > () (at > :0) > UnityEngine.UIElements.EventDispatcher.OpenGate > () (at > :0) > UnityEngine.UIElements.EventDispatcherGate.Dispose > () (at > :0) > UnityEngine.UIElements.EventDispatcher.ProcessEvent > (UnityEngine.UIElements.EventBase evt, > UnityEngine.UIElements.IPanel panel) > (at > :0) > UnityEngine.UIElements.EventDispatcher.Dispatch > (UnityEngine.UIElements.EventBase evt, > UnityEngine.UIElements.IPanel panel, > UnityEngine.UIElements.DispatchMode > dispatchMode) (at > :0) > UnityEngine.UIElements.BaseVisualElementPanel.SendEvent > (UnityEngine.UIElements.EventBase e, > UnityEngine.UIElements.DispatchMode > dispatchMode) (at > :0) > UnityEngine.UIElements.UIElementsUtility.DoDispatch > (UnityEngine.UIElements.BaseVisualElementPanel > panel) (at > :0) > UnityEngine.UIElements.UIElementsUtility.ProcessEvent > (System.Int32 instanceID, > System.IntPtr nativeEventPtr) (at > :0) > UnityEngine.GUIUtility.ProcessEvent > (System.Int32 instanceID, > System.IntPtr nativeEventPtr) (at > :0)
Your answer
Follow this Question
Related Questions
NullReferenceException, still the code is working? 2 Answers
NullReferenceException Error 0 Answers
Weird Error message with empty projects 0 Answers
Trying to increase score when enemy is hit 1 Answer
ARKit Remote "Couldn't Create Device API for Device." 0 Answers