unity river tool

hi everybody im trying to create a river with the river tool but i got this error

NullReferenceException: Object reference not set to an instance of an object
AttachedRiverEditor.OnInspectorGUI () (at Assets/River Tool/Editor/AttachedRiverEditor.cs:161)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Inspector/InspectorWindow.cs:495)
UnityEditor.InspectorWindow.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/Inspector/InspectorWindow.cs:190)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture)

From what you have posted here…Start at the start!!!:slight_smile:
Its says
" Null Reference Exception: Object reference not set to an instance of an object "
This is the main root of the problem…what ever is listed first is the Main cause

A NULL reference means that you haven’t linked the Required Script code variable section to a instance of an object…
Somewhere in your Properties Dialog for that Script"AttachedRiverEditor.cs:" needs a Instanced reference to work on…
If you can link that to the Right object then you should clear that up

Find the Object that Has that code attached to it …the in its properties should be a place you can drag or reference some game object or other to…

You are also being told to look at this code script
“InspectorWindow.cs” Usually you can just double click on the Error message and UNity will take you to the problem directly if that doesn’t help then Go back to Basics and add one script at a time until you find the problem script and it may be faulty …but usually the other solution is right… happy hunting!,From what you have posted here…Start at the start!!!:slight_smile:
Its says
" Null Reference Exception: Object reference not set to an instance of an object "
This is the main root of the problem…what ever is listed first is the Main cause

A NULL reference means that you haven’t linked the Required Script code variable section to a instance of an object…
Somewhere in your Properties Dialog for that Script"AttachedRiverEditor.cs:" needs a Instanced reference to work on…
If you can link that to the Right object then you should clear that up

Find the Object that Has that code attached to it …the in its properties should be a place you can drag or reference some game object or other to…

You are also being told to look at this code script
“InspectorWindow.cs” Usually you can just double click on the Error message and UNity will take you to the problem directly if that doesn’t help then Go back to Basics and add one script at a time until you find the problem script and it may be faulty …but usually the other solution is right… happy hunting!

From what you have posted here…Start at the start!!!:slight_smile:
Its says
" Null Reference Exception: Object reference not set to an instance of an object "
This is the main root of the problem…what ever is listed first is the Main cause

A NULL reference means that you haven’t linked the Required Script code variable section to a instance of an object…
Somewhere in your Properties Dialog for that Script"AttachedRiverEditor.cs:" needs a Instanced reference to work on…
If you can link that to the Right object then you should clear that up

Find the Object that Has that code attached to it …the in its properties should be a place you can drag or reference some game object or other to…

You are also being told to look at this code script
“InspectorWindow.cs” Usually you can just double click on the Error message and UNity will take you to the problem directly if that doesn’t help then Go back to Basics and add one script at a time until you find the problem script and it may be faulty …but usually the other solution is right… happy hunting!