-
Notifications
You must be signed in to change notification settings - Fork 53
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
Editor freezes when trying to open a large report file #22
Comments
Hello, |
As stated in https://github.com/Unity-Technologies/BuildReportInspector/blob/master/README.md, this package is provided as-is and is not longer supported. |
We have also observed internally that the Build Report Inspector is not able to handle large numbers of objects, and the "Source Assets" tab freezes up when attempting to list and summarize too many element. In those cases looking inside the raw BuildReport file is a way to see the summary information, file list and build steps, which are the main bits of information to see overview of the build. The file by default is saved as Binary but can be converted to Yaml by moving it into the Asset folder, as the Build Report Inspector does. There is also some build summary information in the Editor.log. For AssetBundles, the UnityDataTools analyze feature works well for large object counts. It uses an SQLite database so millions of objects can be analyzed and queried. That can be useful for navigating the content of what goes into a large build. But it is not aware of build time info. For player builds it may be necessary to use the BuildReport API to extract and summarize information that is needed from the packedAssets. That can be useful to seeing the total size contributed by certain assets or other information. Recently the main UI improvements in the build area have been going into Addressables package, that offers a better UI experience when building Asset Bundles. |
Bring in fixes for the SourceAsset tab from an internal fork of the build report inspector. -Set a maximum number of assets, if surpased it won't display (rather than letting Unity freeze) -Collapse objects of the same type from the same asset together (tool tip shows the matching count) -show the build type (Player versus assetbundle) available on newer versions of Unity. -Show the build output path -use yellow for errors because red text is pretty unreadable on the dark theme. This should fix: #15 And improve situation for: #22 TestProject Add a second scene with an audio file so that is a bit more content to see in the report.
#39 should improve this situation because it sets a maximum number of assets and collapses more entries together. |
Based on the SourceAsset cleanup I will close this. It should scale to larger projects now. If there are further performance problems please open new issues, i think further work could be done but at a certain point the build report file is so large that trying to process it inside an Inspector window doesn't really make sense. |
Hello,
Lately we are having trouble with build times, and we're trying to use this tool to evaluate what the issue is.
However, our build log file is over 1 GB. We tried to open it with the BuildReportInspector, but it just freezes de editor on each click.
Is there any way we can split the log file or something else along these lines?
The text was updated successfully, but these errors were encountered: