Page 1 of 1

Node doesn't update in Inspector until Inspector is hovered

Posted: Sun May 16, 2021 10:09 pm
by boz


This has been happening for a couple months and I just now got annoyed enough by it to post about it. It used to not happen. It doesn't always happen immediately on a fresh Unity boot, but it will start happening within a few minutes. If I do something like change a script (any script) it start happening. Sometimes it starts updating properly for a bit and then stops working again, but whatever I do to make it work again doesn't seem to work consistently.

I just updated to the most recent DSFU version but it doesn't seem to have made a difference.

Versions:
Unity 2020.4.0f1
DSFU 2.2.16

Has anyone reported this before?

Re: Node doesn't update in Inspector until Inspector is hovered

Posted: Mon May 17, 2021 8:10 am
by Tony Li
No one has reported this before, but I'll certainly look into it as I wrap up version 2.2.17.

Re: Node doesn't update in Inspector until Inspector is hovered

Posted: Mon May 17, 2021 8:19 am
by Tony Li
Hi,

Are there any related errors or warnings in the Console?

I wonder if it's a Unity editor issue. Has it only happened on Unity 2020.4.0f1?

If that isn't it, I've found an instance where this could happen. If you open two inspector windows, inspect a node, and then close one of them (leaving the other open), the Dialogue Editor window will stop telling the remaining inspector to refresh itself when clicking nodes. I'll make sure this is fixed in 2.2.17.

Re: Node doesn't update in Inspector until Inspector is hovered

Posted: Mon May 17, 2021 11:01 pm
by boz
Whoops! That was a typo - it's Unity 2020.3.0f1 (3, not 4)

Haven't seen any console errors.

You gave me the idea to save my current layout and switch to default layout, but that didn't fix the problem.

I tried installing Unity 2020.3.8f1 to test - doesn't seem to have the problem anymore. I'll let you know if it returns.

Re: Node doesn't update in Inspector until Inspector is hovered

Posted: Thu May 27, 2021 4:07 am
by digiwombat
I've had this probably since 2018.something.

I'm pretty sure It's just Unity only firing OnGUI/redrawing for a given editor/inspector when the mouse is over it or there is input of some kind. It doesn't always happen but opening extra editors and inspectors (as mentioned) makes it more likely.

I've tried pretty hard to get it NOT update on mouse over and couldn't get it to so I didn't bother reporting it because I assumed it's a Unity thing. That is to say, I never managed (after about 20 minutes of trying) to get any cross-data/data-loss issues or even to keep the inspector from updating to the selected node.

So for my testing, just a visual problem, though I get how it can be alarming.