Forums › 💬 NodeCanvas › ⚙️ Support › [BUG] Node became "detached" and doubling, when Unity Editor window lost focus › Reply To: [BUG] Node became "detached" and doubling, when Unity Editor window lost focus
Hello again,
I am feeling better now. Thank you!
Can you please try and change the following in the code you’ve posted and let me know if the problem persists?
Please change this line: if (e.type == EventType.ValidateCommand || e.type == EventType.Used){
if (e.type == EventType.ValidateCommand || e.type == EventType.Used){
To this: if (e.type == EventType.ValidateCommand){ (thus removing the EventType.Used check)
if (e.type == EventType.ValidateCommand){
Please let me know. Thank you!