Comments (5)
@zenjugit Are you asking how to get the output from your automation tools into the bundle browser? If so, you can look at the code in AssetBundleDataSource for how the browser consumes data, and you can look at https://bitbucket.org/Unity-Technologies/assetbundlegraphtool to see an example of a tool that is setup to be integrated. If you're asking something else, please give me some more details.
Thanks for reaching out.
-Bill
from assetbundles-browser.
One more thing... I just somewhat glossed over the word "batchmode" in my first read. Not really sure how that would be relevant as the bundle browser is purely a visual browser of the bundle data. Unless you want to use it to build your bundles from batch mode. If it's the latter, then you should be able to edit the browser relatively simply to expose that. If you're not asking about that, then my original answer probably still stands.
from assetbundles-browser.
thanks, the second answer is exactly what i want.
AssetBundles-Browser is a very good tool , and i want to add it to my project.
Now i run ci build and auto test daily, without open unity nor open some uiwindows,
so if there is an batchmode api to build assetbundle would be very happy for me.
from assetbundles-browser.
Ah, that makes sense. Hopefully it's straightforward for you to customize that build script to work in batchmode to your needs. We don't have plans right now to make this command line friendly because most people that get to the point of building from the command line are far enough along that they'll likely need to customize the build script anyway. If you see a simple way to expose things that you think would be general purpose, feel free to let me know here, or create a PR into the project!
Thanks again for reaching out.
from assetbundles-browser.
For anyone interested, I find out if you already add bundle folders in the AssetBundleBrowser window, the browser will deal with
bundle dependencies and you just need to write a wrapper class to call the build method in batchmode.
public static class BuildCommand
{
public static void BuildAssetBundles()
{
BuildPipeline.BuildAssetBundles("E:/buildtest", BuildAssetBundleOptions.None, BuildTarget.StandaloneWindows);
}
}
Here is my batch file on jenkins.
echo Building AssetBundles
set Unity="C:\Program Files\Unity\Editor\Unity.exe"
set ProjectPath=E:\MyGame
set logFilePath = E:/buildtest/buildlog.log
%Unity% -quit -batchmode -projectPath "%ProjectPath%" -logfile "%logFilePath%" -executeMethod BuildCommand.BuildAssetBundles
echo Done
PAUSE
from assetbundles-browser.
Related Issues (20)
- How to resolve is auto included in multiple bundles HOT 7
- Standard Compression (LZMA) cannot display any component if used UI_Default shader
- Asset Details Panel: String too long for TextMeshGenerator. Cutting off characters. HOT 1
- Cannot see AssetBundles from packages folders (PackageManager)
- Want to show dependencies for individual assets in a column of Config
- Release v1.8.0 on Package Manager
- Streaming asset path
- Asset sizes should be shown as imported sizes, not on-disk sizes
- How to share AssetBundleBrowser settings with git? HOT 3
- [New Feature]SBP support HOT 2
- No way to sort assets by type HOT 2
- Not able to build asset bundle for Standalone OSX Intel or Standalone OSX 64
- Merge different manifest files into one main platform manifest file HOT 2
- error dependecy with SpriteAtlas
- Assets in embedded packages are not visible
- Is this project abandoned? HOT 3
- 【AD. Repo Share】Enhance Repo,Support Huge Project, etc
- [help]Hollolens2 single eye bug
- NavMesh Issue while Loading Assets into Game [Android] HOT 1
- How to trigger build bundles from code?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assetbundles-browser.