Ultimate Editor Progress Bar
A one-line swap, then more when you want it ... Parents roll up their children automatically. ... - Pin (always on top), Compact mode, auto-sizing window, per-monitor DPI, remembered placement
by LongDev
Price History +
- Unity 2022.3 LTS and newer (tested on 2022.3.62f1 and 6000.3.9f1); any render pipeline
- Editor-only: two editor assembly definitions (core + deletable Samples/Demo); nothing is included in player builds
- Window: Win32 + GDI on a dedicated thread inside the editor process, ITaskbarList3 for taskbar progress, DWM dark title bar, per-monitor DPI aware
- Windows 10 / 11 editor for the window; macOS / Linux editors fall back to EditorUtility's progress bar through the same API
- Pure C# source, no executables, no native plugins, no network access, no third-party dependencies
- API: ExternalProgress.Start / Child / Report / Step / ReportFraction / Fail / OnRetry / IsCancelled / CancellationToken, IProgress<float>, WithProgress extension, Display / DisplayCancelable / Clear
- Thread safety: Start, Display and Clear on the main thread; everything on a ProgressTask from any thread
- Report throttled to ~30 updates/s per task; ~120 ns per call measured in-editor
- Survives recompiles and Play mode (window is recreated on the next task); works with Enter Play Mode Options / domain reload disabled
- Preferences: window on/off, stall-banner delay, finished-row linger, keep-failed, taskbar flash, logging; window placement and toggles stored per user in %LOCALAPPDATA%ExternalProgressBarwindow.txt
- Namespace LongDev.ExternalProgressBar; install folder Assets/UltimateEditorProgressBar
- Documentation as PDF and Markdown inside the package; demo scene and demo menu under Tools ▸ Ultimate Editor Progress Bar ▸ Demos
Your tool is working. Make it look like it.
very long editor operation written against EditorUtility.DisplayProgressBar has the same problem: the bar is drawn by the main thread, so the moment your import, bake or build actually does its work, the bar freezes, Windows stamps "(Not Responding)" on the title bar and your users start wondering whether to kill Unity.
Three smaller irritations come with it. The built-in bar only repaints when the main thread gets around to it, so a loop over 1000 items routinely sits at 995 while the real work has long since finished, and the user never sees it reach the end. It is one bar: there is no way to show two operations at once, let alone a parent with sub-steps, because every call simply overwrites the previous one. And it is not even your bar: Unity uses the same one for its own asset imports and script compilation, so the moment your tool triggers an import or a compile, Unity's progress replaces yours.
Ultimate Editor Progress Bar draws progress in a window that belongs to its own thread inside the editor process. It keeps animating, keeps counting, shows a smoothed ETA, mirrors progress onto the Windows taskbar, and when Unity has been silent for a few seconds it tells the user so in plain words: *Unity's main thread is blocked — the bars stay live.* The last value you report is always the last value painted, you can show as many bars as you have tasks, stacked under their parents, and nothing Unity does with its own progress dialogs ever touches your window.
A one-line swap, then more when you want it
Replace EditorUtility.DisplayCancelableProgressBar with ExternalProgress.DisplayCancelable and you are done. When you want stacked tasks, open a scope: ExternalProgress.Start("Building bundles", steps: 2), add children with build.Child("Compiling shaders", steps: n, weight: 5f), report with Step() or Report(), dispose to finish. Parents roll up their children automatically.
What you get
- Stacked / hierarchical tasks with weighted children, counts, elapsed time and ETA
- Cooperative Cancel per task, Cancel-all, and a CancellationToken for async code
- Retry: a failed task stays listed with a Retry button that calls your code back
- Taskbar progress fill, yellow while Unity is stalled, red on failure, flash when done
- IProgress<float> and thread-safe Report, so worker threads need no reference to the package
- WithProgress loop helper, Step(), ReportFraction(), and a simple Display / Clear API
- Pin (always on top), Compact mode, auto-sizing window, per-monitor DPI, remembered placement
- Preferences page and a Diagnostics window; faults never throw into your loop
- Pure C#. No executable, no native plugin, no pipe, no firewall prompt, nothing for IT to vet
- Editor-only: nothing ends up in player builds. Works with Enter Play Mode Options (no domain reload)
- Falls back to Unity's built-in bar on macOS and Linux, so one code path runs everywhere
Fast: about 120 ns per Report call (100 000 calls measured in-editor with the window open); updates are throttled to 30 per second per task, so reporting on every iteration of a 100k loop costs around 12 ms.
Requirements: Unity 2022.3 LTS or newer. The window is Windows-only; the API works on every editor platform.
Includes a five-minute Quick Start, a full manual, an honest comparison with Unity's own progress bars, and a demo menu with blocking, background-thread, cancel and Retry examples.