Author Topic: New install of Substances in Unity is broken  (Read 374 times)

Hi,

I´m woking on Unity version 2019.3.10f1.

I´ve opened the Asset Store in Unity, browsed for Substances, downloaded and imported it.  The Source panel opens up empty.  When I go to the Console tab, I get the following errors:

1) This error shows 5000 times and keeps going up by the second.

NullReferenceException: Object reference not set to an instance of an object
SourceUnityLib.Classes.Panels.SU_LoadingPanel.Update () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
SourceUnityLib.SourceUnityWindow.Update () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.SendUpdate () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

2) This error is the second error.  Has about 50 instances.

SourceInterface Dll failed to load, file was either improperly built or not found.
UnityEngine.Debug:Log(Object)
SourceUnityInterface:LoadDll()
SourceUnityLib.SourceUnityWindow:Reload()
SourceUnityLib.SourceUnityWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

3) Third error.

NullReferenceException: Object reference not set to an instance of an object
SourceUnityLib.SourceUnityWindow.OnGUI () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.DockArea.OldOnGUI () (at <17b72532ee2c4da1b6f632d3f1705fe0>: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 <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

There are about 10 other errors.  If you need, I can display them in a later post.

Am I missing a dependency?  Or something?  Please help!



Hi,

I´m woking on Unity version 2019.3.10f1.

I´ve opened the Asset Store in Unity, browsed for Substances, downloaded and imported it.  The Source panel opens up empty.  When I go to the Console tab, I get the following errors:

1) This error shows 5000 times and keeps going up by the second.

NullReferenceException: Object reference not set to an instance of an object
SourceUnityLib.Classes.Panels.SU_LoadingPanel.Update () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
SourceUnityLib.SourceUnityWindow.Update () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.SendUpdate () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Delegate.DynamicInvoke (System.Object[] args) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

2) This error is the second error.  Has about 50 instances.

SourceInterface Dll failed to load, file was either improperly built or not found.
UnityEngine.Debug:Log(Object)
SourceUnityInterface:LoadDll()
SourceUnityLib.SourceUnityWindow:Reload()
SourceUnityLib.SourceUnityWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

3) Third error.

NullReferenceException: Object reference not set to an instance of an object
SourceUnityLib.SourceUnityWindow.OnGUI () (at <f12adca816ab4bdea31a5d04ca4a5303>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>: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 <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)
UnityEditor.DockArea.OldOnGUI () (at <17b72532ee2c4da1b6f632d3f1705fe0>: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 <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

There are about 10 other errors.  If you need, I can display them in a later post.

Am I missing a dependency?  Or something?  Please help!

hey @rodrigoguerrasa ,

Can you post your 'About' information by clicking Substance - About? Also are you losing internet connection at any time while the Source window is downloading or open?
Integrations QA Analyst

Hi,

I had to uninstall Substance since it was causing other problems in Unity.  As soon as you have a new version, I will try and install it again.  If the problem persists, I will add the "about info here".

As for internet instability problems, the answer is no.  I tried at different times of the day, over a couple of days and the problem was the same.  I also tried using a brand new project created through the unity hub, using the build-in rendering, the URP and the HDRP.  All of the projects showed the same errors.  What I have not tried yet was to use another build of Unity.

Do you have any hints as why the problem occured?

Thank you.

Hi,

I had to uninstall Substance since it was causing other problems in Unity.  As soon as you have a new version, I will try and install it again.  If the problem persists, I will add the "about info here".

As for internet instability problems, the answer is no.  I tried at different times of the day, over a couple of days and the problem was the same.  I also tried using a brand new project created through the unity hub, using the build-in rendering, the URP and the HDRP.  All of the projects showed the same errors.  What I have not tried yet was to use another build of Unity.

Do you have any hints as why the problem occured?

Thank you.

hey @rodrigoguerrasa ,

I'm not sure why the problem occurred. This one is new to me. Were you using any other plugins in your project?

Thanks  :)
Integrations QA Analyst