8 Q&A
Hiroki Omae редактировал(а) эту страницу 2020-06-25 14:47:23 +09:00

Quick Q & A

Is this tool in production?

AssetGraph is in preview phase. Please give us bug reports and suggestions if you find any.

Which version of Unity should I use?

AssetGraph is supported on 2018.4 LTS or higher.

Can I mix this tool with current inspector-based asset bundle build settings?

Yes. AssetGraph does not change any assetBundle settings of existing assets, so you can combine with current configuration. However, both ImportSetting and Modifier node may change asset configuration which may give you a side effects. Please use them with caution.

Can I use this with Addressables?

Yes, AssetGraph supports Addressables 1.6 or later.

Can I use this with AssetBundleManager?

Yes, AssetGraph supports AssetBundleManager 1.7.0 or later.

Can I use this with command line?

You can create command line tool by selecting Menu>Window>AssetBundleGraph>Create CUI Tool. Tool will be generated under Assets/AssetBundleGraph/Editor/Generated/CUI.

Target

After creating command line tool, you can build your asset bundle like this:

Mac

$> sh -e buildassetbundle.sh -target WebGL

Windows

 .\buildassetbundle.bat -target WebGL

To specify target, use -target argument with target name. Acceptable target name matches to BuildTarget.

Graph

After creating command line tool, you can execute a graph like this:

Mac

$> sh -e buildassetbundle.sh -graph Assets\PipelineGraph.asset

Windows

 .\buildassetbundle.bat -graph Assets\PipelineGraph.asset

When building asset bundles with AssetBundleGraphTool, Unity keep asking me if I want to save files. How can I turn this off?

You can turn it off from Preference Window by unchecking "Verify Saving Assets".