Graphify icon indicating copy to clipboard operation
Graphify copied to clipboard

Docking graph window stop unity to open again

Open CoffeSan opened this issue 4 years ago • 2 comments

hi how are you ?, i think i found a bug, when i close the unity with the graph window, and open the unity again, it does not start and shows this error. I can only enter the editor when I delete CurrentLayout-default.dwlt and EditorSnapSettings.asset, in the project/Library folder.

https://www.youtube.com/watch?v=tTY_DEFtABU

Not sure and there is a problem with my version of Unity (2020.3.8f1)

CoffeSan avatar Jun 30 '21 23:06 CoffeSan

Heya,

I am not able to test the issue at the moment, but I have a suspiscion that unity is hanging on to an invalid serialized reference from the editor window, specifically [SerializeReference] protected GraphifyView graphView;

I've pushed a hotfix to the GraphifyWindow class that unloads the reference during OnDisable and OnDestroy which I'm hoping should correct the issue.

Let me know if this issue continues after updating.

CoffeeVampir3 avatar Jul 12 '21 05:07 CoffeeVampir3

I updated my project with the new version but it still gives the same error. I downloaded the source code, to try to fix the error, if I find any solution I do a PR

CoffeSan avatar Jul 12 '21 15:07 CoffeSan