-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin hangs the editor for long periods while generating context menu entries #144
Comments
Hi @Acren, thanks for the report. I actually also found myself this issue quite recently; it's indeed the UI waiting for the status of locks! Independandlty from fixing the UI, potential fixes could be;
In any case, it means that Unreal expect the provider to answer quickly; for sure in my own testing the issue wasn't as bad as yours, as I was only seeing sub second latencies. |
Would you be able to send me the Unreal logs of a minimal session showing the issue? If you prefer, creating an official support ticket might be better for confidentiality, and help us sort the priorities Unity Version Control support. Many thanks, |
Thanks @SRombauts, I'll gather those logs and create a ticket referencing this thread. As for making the menus async, I noticed that there were some generic source control submenus in the editor that are async already. Check out Would be better if the editor had a unified way to approach it, but maybe you could do something similar? |
Thanks, that was the kind of magic I was looking for; I'll have to take a closer look and replicate the logic, that wouldn't be the first time copy past is needed. In the longer run this should perhaps be added to the UI framework I believe. |
Just to follow up on this, I did send through the logs on a ticket, did you get those? |
Yes I received your logs through the support team, thanks! I'll see if I can provide a refactor of how the plugin handle Locks, and improve the context menu Related: Fix lock cache excessive calls |
Much thanks for that, from some initial testing it helps dramatically! |
Thanks for letting me know! |
Hey there,
We're currently using 1.11.0 in UE 5.4, and I've been noticing that when I hover an asset in the context menu the first time the editor will hang for 30-60 seconds.
It looks like in this case the plugin is waiting on cm commands synchronously.
This can be quite frustrating when hovering something locks the editor for so long. Would it be possible to make this async?
Thanks,
Sam
The text was updated successfully, but these errors were encountered: