- Home /
Programmatically get player size statistics after build?
I'm fairly certain I already know the answer to this question, since I've tried searching for it in several resources, including this site. However, I figured I would ask:
Is there a programmatic way to retrieve the same information that is printed to the editor log under the Player size statistics heading after building a player or asset bundle, short of parsing the log in a script?
I've been using the methods available on BuildPipeline, but they aren't exactly informative in their return values except when an error occurs.
It would be incredibly helpful to be able to set callbacks or call information functions after a build to get the information that was printed in the log. Does anyone know of something I've missed in the documentation regarding this?
Thanks!
This is probably a horrible suggestion, but...
You could use a PostProcessBuildPlayer script to open and/or parse the Editor Log after builds.
http://unity3d.com/support/documentation/$$anonymous$$anual/Build%20Player%20Pipeline.html
Thanks. Yeah, I'm looking at that as an option of last resort, but it may be the only option I have for co$$anonymous$$g up with something that is workable, even if not quite what I hope for. :)
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
How to import the object from server to unity 2 Answers
How to correctly make AssetBundles for different build targets? 1 Answer
How to customize Addressables BuildPath or LoadPath through Code? 1 Answer
How to build asset bundles at runtime from a server? 5 Answers