Open fleity opened 3 days ago
Seems a duplicate of #11 I've been looking into it but also having a hard time debugging.
As far as I can tell, it's specific to 2022.x versions... (specifically 2022.3.21f1 is the version I have installed). I've tested in 2020.3 and 2023.1 and there's no errors there.
I don't think it's related to the Swizzle here, or the new Vector2/3 types. As mentioned in that other issue it's something with the Connect/ConnectReflection method, as returning early prevents the errors (but means the tool stops working). But I haven't been able to find a fix yet 😢
I have a hard time pinpointing why exactly some graphs break and some not but when I update to the latest version (Vector 2/3 fix). Some nodes (presumably GetVariable getting vector2) breaks the entire graph, making it unable to be edited. When moving a node it sticks to the mouse and can not be dropped.
I guess the issue has to do with GetVariable Vector4 output being connected to a swizzle xy. This connection changes color between the two package versions and therefore seem to change connection type. Maybe that is something the swizzle has trouble handling (encountered that a few times before with Vector4 to float and vice versa conversions when using this package).
There are 3 errors: