Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MIDI knob input causes error #35

Open
sinewave440hz opened this issue Mar 25, 2020 · 2 comments
Open

Adding MIDI knob input causes error #35

sinewave440hz opened this issue Mar 25, 2020 · 2 comments

Comments

@sinewave440hz
Copy link

sinewave440hz commented Mar 25, 2020

Didn't get very far after the last issue unfortunately. First thing I tried, creating a MIDI input, gives me:

[Unity 2018.4.19f1 and latest in Assets folder from repo]

ArgumentException: Value does not fall within the expected range.
UnityEditor.Graphs.Property.ConvertFromSingleValue (System.Object o) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Property.cs:339)
UnityEditor.Graphs.Property.set_value (System.Object value) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Property.cs:221)
UnityEditor.Graphs.Property..ctor (System.String typeString, System.String name) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Property.cs:175)
UnityEditor.Graphs.Node.ConstructAndAddProperty (System.String serializedTypeString, System.String name) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Node.cs:389)
UnityEditor.Graphs.Node.AddOrModifyPropertyForSlot (UnityEditor.Graphs.Slot s) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Node.cs:418)
UnityEditor.Graphs.Node.AddSlot (UnityEditor.Graphs.Slot s, System.Int32 index) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Node.cs:199)
UnityEditor.Graphs.Node.AddSlot (UnityEditor.Graphs.Slot s) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Node.cs:188)
UnityEditor.Graphs.Node.AddInputSlot (System.String name, System.Type type) (at /Users/builduser/buildslave/unity/build/Editor/Graphs/UnityEditor.Graphs/Node.cs:170)
Klak.Wiring.Patcher.Node.PopulateSlots () (at Assets/Scenes/Klak/Wiring/Editor/Patcher/Node.cs:135)
Klak.Wiring.Patcher.Node.Initialize (Klak.Wiring.NodeBase runtimeInstance) (at Assets/Scenes/Klak/Wiring/Editor/Patcher/Node.cs:117)
Klak.Wiring.Patcher.Node.Create (Klak.Wiring.NodeBase runtimeInstance) (at Assets/Scenes/Klak/Wiring/Editor/Patcher/Node.cs:42)
Klak.Wiring.Patcher.GraphGUI.CreateMenuItemCallback (System.Object data) (at Assets/Scenes/Klak/Wiring/Editor/Patcher/GraphGUI.cs:291)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:119)

Any workaround for this?

@georgechond94
Copy link

@sinewave440hz see here: #37 (comment)
I had that issue too with .NET 4.x. I downgraded to .NET 3.5 and that error was gone

@patchworquill
Copy link

@georgechond94 saved me! Thanks for the tip. Worked like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants