Hi, I re-opended a unity project after the Christmas break and I now have errors that weren't apparent before.
Basically all my material UI components on a multipage UI have lost their own 'internal' references to their sub-components.
I am using gitbucket so don't know if something is corrupt in the submit..
The following error clocks up on launch...
NullReferenceException: Object reference not set to an instance of an object
MaterialUI.MaterialSlider.OnEditorUpdate () (at Assets/MaterialUI/Scripts/Components/MaterialSlider.cs:796)
MaterialUI.EditorUpdate.Update () (at Assets/MaterialUI/Scripts/MaterialUtils/EditorUpdate.cs:48)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:222)
And the following:
UnassignedReferenceException: The variable m_SliderContentTransform of MaterialSlider has not been assigned.
You probably need to assign the m_SliderContentTransform variable of the MaterialSlider script in the inspector.
UnityEngine.DrivenRectTransformTracker.Add (UnityEngine.Object driver, UnityEngine.RectTransform rectTransform, DrivenTransformProperties drivenProperties) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/RectTransformBindings.gen.cs:66)
MaterialUI.MaterialSlider.SetTracker () (at Assets/MaterialUI/Scripts/Components/MaterialSlider.cs:778)
MaterialUI.MaterialSlider.SetLayoutHorizontal () (at Assets/MaterialUI/Scripts/Components/MaterialSlider.cs:1310)
UnityEngine.UI.LayoutRebuilder.<Rebuild>m__9 (UnityEngine.Component e) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Layout/LayoutRebuilder.cs:71)
UnityEngine.UI.LayoutRebuilder.PerformLayoutControl (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1 action) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Layout/LayoutRebuilder.cs:103)
UnityEngine.UI.LayoutRebuilder.Rebuild (CanvasUpdate executing) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Layout/LayoutRebuilder.cs:71)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs:122)
UnityEngine.Canvas:SendWillRenderCanvases()
And loads of these appear on play.
NullReferenceException: Object reference not set to an instance of an object
MaterialUI.MaterialCheckbox.OnEnable () (at Assets/MaterialUI/Scripts/Components/MaterialCheckbox.cs:83)
Any ideas before I manually reconnect all of them?