Tabletop Simulator

Tabletop Simulator

View Stats:
GrumpyJake Sep 29, 2017 @ 11:14pm
assetbundles
I have tried forever to figure out the berserker knowledge bases guide to building an asset bundle in unity. I am pretty computer savvy and I can't find any good tutorials so can someone please help.

I don't know where to start....

I can get the github file in unity, but after that the gifs they give are so hard to follow.

I would like to use assets from the unity asset store, how can I do this. I import them into unity and have the build assetbundles option, but I don't know what i need to do to make a bundle from these.

I figured that the prefabs that come with the unity store asset bundles would be all in one, but how do I convert that into a bundle i can use in tabletop simulator?
< >
Showing 1-4 of 4 comments
Psyrek Sep 30, 2017 @ 2:54am 
1. Make sure you have the correct version of unity and the github project open in unity.
2. Import any asset into unity that you wish to create an assetbundle with.
3. Create a prefab of the object if one doesn't already exist.
4. Make sure you have the prefab selected.
5. In the bottom right of the screen should say assetbundle and have a dropdown menu next to it. Select the dropdown menu and select new.
6. Assign a name to the asset bundle. Try to keep it unique as different objects sharing the same name will cause errors.
7. Right click in the project view and select build asset bundles. It will export all prefabs with an assetbundle name assigned to it into your unity project folder in the assetbundles subfolder.
8. In TTS, create a custom assetbundle object and load in the assetbundle.

Keep in mind only the 2 scripts provided in the github project will work with the assetbundle, writing a custom script will not be imported into TTS if you attach it to your assetbundle.
GrumpyJake Sep 30, 2017 @ 1:06pm 
thanks for the response that helps a lot. Seemed like I was doing everything correct it was just that the one asset bundle package from unity I was trying to use had errors or something in it and that was causing me all the headache.

I went and used a completely different package and everything worked as it should. Thanks again!

Now I can get on with trying to figure out how to add different effects to these prefabs, mainly what I want to do is add a lighting effect like people put on candles.
Psyrek Sep 30, 2017 @ 1:31pm 
For lighting, you can attach a light to an object, make a prefab from them and then export as an assetbundle.
Glad you got it all figured out. Best of luck on your future endeavors.
memoguevara Feb 22, 2024 @ 8:40pm 
Hi! I'm learning about AssetBundles and found this post. I'm trying to make a small collection of minis but everytime I Build the AssetBundles it builds ALL of my prefabs. Is there a way to build only the one I'm currently testing? It takes a lot of time to build all of them.

Thanks in advance
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Sep 29, 2017 @ 11:14pm
Posts: 4