Remote Settings Linker build NullReferenceException
Using 2019.2
When I try to make an android build I get the following errors:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Analytics.RemoteSettingsLinker.AddTypesToHash (System.Collections.Generic.List`1[T] fields, System.Collections.Generic.Dictionary`2[TKey,TValue] types) (at Assets/Editor/RemoteSettings/RemoteSettingsLinker.cs:131)
UnityEngine.Analytics.RemoteSettingsLinker.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Assets/Editor/RemoteSettings/RemoteSettingsLinker.cs:88)
UnityEditor.Build.BuildPipelineInterfaces+<OnBuildPreProcess>c__AnonStorey0.<>m__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:376)
UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:356)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Error building Player: NullReferenceException: Object reference not set to an instance of an object
Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:190
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x0007f] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:95
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
I have recently added the Firebase package to my project to use Dynamic Links following this guide: https://firebase.google.com/docs/unity/setup#prerequisites as well as adding the native3 share package from the asset store (https://assetstore.unity.com/packages/tools/integration/native-share-for-android-ios-112731)
Any idea how to fix this? It seems to be an issue with the unity remote settings. Would should I just go ahead and port my Unity Remote Settings to the newer Unity Remote Config?
Your answer
Follow this Question
Related Questions
Unable to merge Android manifests. (5.6.0p3) 2 Answers
Buid problem in unity 5.6.4 0 Answers
Android build error 1 Answer
My game always crashes when building a standalone release, it fails at "OnPreprocessShaderVariants" 2 Answers
Touch.deltaPosition.magnitude in Unity Remote differs from Android build... why? 0 Answers