Firstborn/Library/PackageCache/com.unity.scriptablebuildpi.../Documentation~/BuildLogger.md
Schaken-Mods 7502018d20 Adding Mod Support
There is an asset in the store I grabbed. the coding is WAY above my head, I got about half of it and integrated and adapted what I can to it. im going as far as I can with it and ill come back in a few month when I understand t better.
2023-05-13 22:01:48 -05:00

1.4 KiB

Build Logging

Scriptable Build Pipeline has a profiling instrumentation system enabling build performance logging. By default, building AssetBundles will create a .json log file in the Trace Event Profiler Format within the target output directory. The file contains timing measurements of various build tasks and can be viewed using the Trace Event Profiling Tool.

The default logger can be overriden by passing in an IBuildLogger object as a context object input. This could be useful if you want to log performance data in a different format or want the build events to be added to a custom performance repot. The BuildLog class implements IBuildLogger and is used as the default logger.

Adding Custom Instrumentation

If you are creating or modifying build tasks that could affect build performance, you should consider adding instrumentation blocks to your new code. You can do this by calling the IBuildLogger methods directly or using the ScopedStep and AddEntrySafe extension methods.