Node doesn't update in Inspector until Inspector is hovered

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
boz
Posts: 76
Joined: Mon Oct 19, 2020 8:59 pm

Node doesn't update in Inspector until Inspector is hovered

Post 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?
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

No one has reported this before, but I'll certainly look into it as I wrap up version 2.2.17.
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
boz
Posts: 76
Joined: Mon Oct 19, 2020 8:59 pm

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

Post 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.
User avatar
digiwombat
Posts: 50
Joined: Sun Jun 16, 2019 4:59 am

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

Post 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.
Post Reply