Need help with compilation-visualizer?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

needle-tools
150 Stars 3 Forks MIT License 55 Commits 0 Opened issues

Description

Unity Tool showing a timeline of assembly compilation. This is especially helpful when trying to optimize compile times and dependencies between assemblies. Besides showing a graphical view of compilation, selecting an assembly shows both dependencies and dependents of that assembly.

Services available

!
?

Need anything else?

Contributors list

Compilation Visualizer for Unity

Unity Version Compatibility openupm

What's this?

This tool visualizes the assembly compilation process in Unity3D. It hooks into the Editor-provided events and nicely draws them on a timeline. That's especially helpful when trying to optimize compile times and dependencies between assemblies.

Besides showing a graphical view of compilation, selecting an assembly shows both dependencies and dependents of that assembly.

The screenshots show full compilations; but the timeline works as well for partial compilations (e.g. you changed a single script and Unity only recompiles the relevant parts of the dependency chain).

Quick Start

Compilation Visualizer is available on OpenUPM: https://openupm.com/packages/com.needle.compilation-visualizer/

If you're on Unity 2019.4+: - open

Edit/Project Settings/Package Manager
- add a new Scoped Registry:
  Name: OpenUPM
  URL:  https://package.openupm.com/
  Scope(s): com.needle.compilation-visualizer
- click Save - open Package Manager - click + - select Add from Git URL - paste
com.needle.compilation-visualizer
- click Add.

You can open the Compilation Visualizer by selecting

Window > Analysis > Compilation Timeline
.

Compilation Process

If you want to trigger a recompile, you can either use the "Recompile" button, or

Right Click > Reimport
a script or folder with scripts to cause that to be recompiled.

Screenshots

Compilation Process Coloring Options Compact View Compact View with selected assembly Expanded View Expanded view with selected assembly

Compatibility to 2018.4, 2019.1, 2019.2

While most functionality works great those versions, some minor things are different: - slightly less accurate total compilation time on 2018.4 — 2019.1+ has events for the entire compilation while on 2018.4 the last finished assembly compilation is used as end date. - no PackageInfo for now on 2018.4/2019.1 as

PackageInfo.FindForAsset
doesn't exist.
Future Work: there's ways to still find the right package.

Contact

needle — tools for unity@NeedleTools@marcel_wiessler@hybridherbst

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.