Getting this error when trying to save in Fudge editor:
Uncaught (in promise) TypeError: Converting circular structure to JSON
--> starting at object with constructor 'GraphInstance'
| property 'parent' -> object with constructor 'Graph'
| property 'children' -> object with constructor 'Array'
--- index 0 closes the circle
at JSON.stringify (<anonymous>)
at Serializer.stringify (Serializer.ts:184:31)
at Project.getProjectJSON (Project.ts:121:39)
at Object.saveProject (FileIO.ts:78:44)
at async IpcRenderer.<anonymous> (Page.ts:228:13)
I have a Custom Component script on a Node with the following fields:
@ƒ.serialize(ƒ.Node)
public bodyAnchor: ƒ.Node | string | undefined = undefined;
@ƒ.serialize(ƒ.Node)
public bodyTied: ƒ.Node | string | undefined = undefined;
This creates a field in the component where I can drag a node to. Previously created nodes work fine and it saves but when
a new node is dragged in one of those fields - even if it's the same ones, the aforementioned error displays when trying to save.
Getting this error when trying to save in Fudge editor:
I have a Custom Component script on a Node with the following fields:
This creates a field in the component where I can drag a node to. Previously created nodes work fine and it saves but when
a new node is dragged in one of those fields - even if it's the same ones, the aforementioned error displays when trying to save.