I would like to know if I can or will be able to open multiple graphical editor windows and see various streams, just as I can with C #. It is somewhat tedious to click to see a different stream without being able to see 2 or compare.
Yes, but you cannot open 2 graphical windows, it sticks, which means that if you click on an object the graph does not change, but you cannot see 2 graphs at the same time.
Confirmed. All the “glue” is there but Unity VS uses just one window:
Open a project with two graphs attached to two Game Objects, A and B. Unity 2022.1.12f1 VS 1.7.8
Select “A” and see the Inspector. “Edit Graph”. See the graph for “A”.
Use the Menu “Window > Visual Scripting > Visual Scripting Graph”. See a new window (excitement!). Choose “Browse to open a graph”. Pick “B”. The window closes (disappointment!).
See the graph for “B” replaces the graph for “A”. Only one script is visible at a time.
Ideally, whatever the Unity team that wrote the window for e.g “Animation” did, which allows multiple simultaneous tabs, is what the VS team could explore doing.
LOL’ing here … I hacked the package locally and got it to open, only in a limited UI navigation way, to show multiple Script Graph windows with different scripts.
Thank you Joachim for mandating that packages be full-source whenever possible.
Copy / paste the “/PackageCache/ … visualscripting@some.number.here” folder to the “/Packages” folder.
Optionally, notice Unity recompiles, and shows in the Package Manager window that VS is now a “custom” package. SO when you’re sick of this hack, delete the pasted folder and maybe re-install VS from the Unity repository
Change a line of code, starting where I put the Debug.Log part, at /Packages/recently-pasted-vs-package@some.number/Editor/VisualScripting.Shared/EmptyGraphWindow.cs:
I managed to open a second window by clicking on a Subgraph node inside a graph and then clicking “Open in new window” in the Context Menu that pops up after right-clicking. Works flawlessly and you can keep it forever and open whatever you want. Just like with Bolt. No add-ons required.
The only feature request we now need is to make this feature easier to find.