What are Addressables in Unity and How to use to them | Unity Tutorial

2023 ж. 29 Там.
24 583 Рет қаралды

🕹️Website: skye-games.com
✉️Contact: info@skye-games.com
In this video we go over a brief summary of what Addressables are in Unity then we dive into an example showing you how you can make use of them inside your games in order to bring super powerful experiences to your players!

Пікірлер
  • please never delete this video!! its gonna make my life so much easier. absolutely loved it!!!!

    @squitz7056@squitz70568 ай бұрын
    • Haha Awesome!! I am so happy it helped😁

      @Skye-Games@Skye-Games8 ай бұрын
  • thanks, your video explanation is better than unity youtube team

    @nnNothing@nnNothing19 күн бұрын
    • Haha thank you!

      @Skye-Games@Skye-Games18 күн бұрын
  • Best videos yet! Hope this KZhead channel grows a lot... Thanks a bunch💖

    @karunaket@karunaket8 ай бұрын
    • Thank you! 😁

      @Skye-Games@Skye-Games8 ай бұрын
  • Man, i was looking for the video like this for months. Thank you

    @D0N2709@D0N27093 ай бұрын
    • Glad I could help!

      @Skye-Games@Skye-GamesАй бұрын
  • one of the best tutorials i've ever seen so far

    @hiephoangnguyen5360@hiephoangnguyen53605 ай бұрын
    • I am glad to hear that!!! Thank yoy

      @Skye-Games@Skye-Games5 ай бұрын
  • This has been very helpful for me! I'm subbing for this type of quality tutorials

    @pasta8026@pasta80268 ай бұрын
    • Awesome! Thanks for the sub

      @Skye-Games@Skye-Games8 ай бұрын
  • very concise, easy to understand

    @phuthi5030@phuthi50308 ай бұрын
    • Thanks!

      @Skye-Games@Skye-Games8 ай бұрын
  • this is amazing so many information just in 9 minutes i love this !!!

    @KokapaGameDev@KokapaGameDev8 ай бұрын
    • Awesome I am glad!

      @Skye-Games@Skye-Games8 ай бұрын
  • Wonderful tutorial. 🎉

    @iiropeltonen@iiropeltonen8 ай бұрын
    • Thank you!😁

      @Skye-Games@Skye-Games8 ай бұрын
  • This is a perfect tutorial.. I saw the tutorial 3-4 years ago and it was a problem because the UI was very different. Thank you for posting the video!

    @jumprabbit8946@jumprabbit8946Ай бұрын
    • Haha thanks for watching!

      @Skye-Games@Skye-GamesАй бұрын
  • Thank you for this

    @issasaleh7597@issasaleh75978 ай бұрын
    • 😁glad it could help!

      @Skye-Games@Skye-Games8 ай бұрын
  • I really like that thanks so much could you make a video for unitTest 🙏 specially like match-3 games

    @kadircalloglu2848@kadircalloglu28486 ай бұрын
  • Thank you for your help! The Unity Dashboard UI changed a bit so it got me confused. Thank you!

    @user-gj6ts5pl3c@user-gj6ts5pl3c2 ай бұрын
    • Glad to help!

      @Skye-Games@Skye-GamesАй бұрын
  • you are my hero

    @lukeydzbecx8319@lukeydzbecx83193 ай бұрын
  • Tahnk you bro iwas banging my head in wall from last 2 weeks. finally its working for me and my collegue. Tahnks.😊

    @nikhildeshmukh3480@nikhildeshmukh34808 ай бұрын
    • Awesome! I am glad it helped

      @Skye-Games@Skye-Games8 ай бұрын
  • Cool video dude👍

    @Yeet-eq7ve@Yeet-eq7ve8 ай бұрын
    • Thanks!😁

      @Skye-Games@Skye-Games8 ай бұрын
  • more videos please!! What is UNITY DOTS and how use it !!!

    @devy1451@devy14515 ай бұрын
  • Wow... Very Dangerous ⚡

    @nasimakhter3055@nasimakhter305526 күн бұрын
  • I have a question, when a new file is updated and uploaded to the server, and in you app/exe you already download the previous file before the update, do you need to remove the previous file and download back the new file, or will the old file automatically be replace with the new file? or do we have a version checker? that I can do to show user to update the current file to the latest one.

    @lemangkuk@lemangkuk7 ай бұрын
    • Hey, Everything is handled automatically by the addressables system so no need to worry about it!

      @Skye-Games@Skye-Games7 ай бұрын
  • Very helpful keep it up bro

    @shahzadmaher7668@shahzadmaher76687 ай бұрын
    • Thank you!

      @Skye-Games@Skye-Games7 ай бұрын
  • Perfect

    @ashb899@ashb8998 ай бұрын
    • Thank you!

      @Skye-Games@Skye-Games8 ай бұрын
  • please make more vedies on addressables

    @shahzadmaher7668@shahzadmaher76687 ай бұрын
  • thanks for the video can u show me how to load scenes form the cloud

    @syedeahsanurrahman1670@syedeahsanurrahman16708 ай бұрын
    • Hey, Sorry I didn't cover that in the video. I believe you do that by using the AssetReferenceScene type, check the documentation - it's almost the same as game objects!

      @Skye-Games@Skye-Games8 ай бұрын
    • @@Skye-Games hi, Thanks for the reply. I did use your code and added asset reference scene type but when I built the game and clicked on the download it did download but the scene wasn't unloaded and the new scene wasn't loaded. If you could make a quick video then that would be a world for me because I have to submit the game that I'm developing in 3 days so I'm tense. I think you are the only one who helped me to understand the basics of CCD and Addressable. so can you help me, please

      @syedeahsanurrahman1670@syedeahsanurrahman16708 ай бұрын
  • Amazing topic to talk about, not many put light on addressable objects even that they are so important and a must use in some games, as many features unity have they are in the dust because unity marketing team sucks and make no videos about them no sponsor videos and nothing they make features and let them in the dust no one talks about them ! keep the good work great video.

    @VEOdev@VEOdev8 ай бұрын
    • Yes, I have come to realize that lately how powerful Unity really is, just many people don't know many of the features even exist. Thanks!

      @Skye-Games@Skye-Games8 ай бұрын
  • Your tutorial is very fast and straight to the point. That is great if we pause and rewind =) . I think the only thing this tutorial needs is to teach how to manage unloading handles, asset instances and asset references.

    @godmode3611@godmode36113 ай бұрын
  • Great vid!

    @coloneljcd6041@coloneljcd60413 ай бұрын
    • Thank you!

      @Skye-Games@Skye-Games3 ай бұрын
  • Great video thank you, just a heads up your website isn't loading for me, just a blank white page with no errors in the logs on windows 11 chrome and ms edge

    @tailwindmechanics7454@tailwindmechanics74544 ай бұрын
    • Thank you for the heads up. It seems my website was hacked and everytime I get it up and running again all the content dissappears.. Still a mystery in progress🧐

      @Skye-Games@Skye-Games4 ай бұрын
  • I am able to download the addressables dynamically from CCD, and it is cached in somewhere. How can I clear the cache?

    @maxfun6797@maxfun67978 ай бұрын
    • Hey, I am not too sure where it is stored in the Editor. A quick google search should provide you with the answer

      @Skye-Games@Skye-Games8 ай бұрын
  • when you load Props (stone ,table character) . Do this loaded (auto) or (input key D) , when start scene

    @jonbon700@jonbon7004 ай бұрын
    • Input D, as you can see in the code

      @Skye-Games@Skye-Games4 ай бұрын
  • How are dependencies / recursion handled? Suppose you have a MonoBehaviour, we'll call it ClassA, and attach this to a GameObject Prefab and call it PrefabA, and mark PrefabA as addressable. So PrefabA has ClassA attached to it. Then you have an addressable ScriptableObject called ScriptableB You add an AssetReference field to ClassA called ScriptRefB. If you call LoadAssetAsync(PrefabA), will it perform recursive addressable asset loading by finding any addressable AssetReferences on ClassA and load those too?

    @MarkChong@MarkChong8 ай бұрын
    • I am honestly not 100% sure about that, but I think everything is packed into the asset bundle file, so the only problem you'll run into is if you load an addressable and try to reference a class on the addressable that does not exist in the project but it does exist on the addressable. I know people have used addressables for modding Unity games so I believe that this is how it works.

      @Skye-Games@Skye-Games8 ай бұрын
    • @@Skye-Games Thanks for your speedy reply. Yeah, I'm using it for that exact purpose -- to make my game moddable.

      @MarkChong@MarkChong8 ай бұрын
    • Ahh awesome! What kind of game are you making?

      @Skye-Games@Skye-Games8 ай бұрын
  • From what I understand asset bundles do not support scripts right? So only models and sound then? Unless you use some kind of higher level parsed scripting language.

    @64jcl@64jcl5 ай бұрын
    • Asset bundles work with scripts, But I have no idea how dependencies work etc etc like if you make updates to the asset bundle but not to the exe and the exe is trying to access old methods which do not exist in the class anymore..

      @Skye-Games@Skye-Games5 ай бұрын
    • I think it is up to the developer to design their asset bundles in a way that allows for script updates without breaking the game

      @Skye-Games@Skye-Games5 ай бұрын
  • I can not find the ServerData folder in my project. No ServerData folder is generated. In addition, when I build my player, the addressable are not loading in textures or music.

    @maxfun6797@maxfun67978 ай бұрын
    • Hi, Server data is not in your project folder. Check the video closely otherwise you won't get the same results. Are the textures and music marked as addressable? Texture and Audio clip loading are almost the exact same as Game Objects. So maybe go through the video again and double check your steps

      @Skye-Games@Skye-Games8 ай бұрын
    • @@Skye-GamesThe reasons the textures were not showing up is because I was releasing the async operation handle after instantiating my game object. As for the server data files, I will go build the project again after re-configuring the load and build paths, then building from there. I am guessing that if the paths are properly configured, then and only then, the server data folder is generated.

      @maxfun6797@maxfun67978 ай бұрын
    • @maxfun6797 Great to hear the textures issue is sorted! Yes, correct. You have to configure the folder correctly and make a build 👍

      @Skye-Games@Skye-Games8 ай бұрын
    • ​ @Skye-Games I want to update you. I was able to build but instead of the server data folder, I selected my bucket from the drop down, and it generated the files in a folder called "CCDBuildData". Now I think I did the process incorrectly because I built out my player, then added in new addressables, I have an addressable that references most of the added addressables which are game maps, so that should be able to update and referance in the new addressable maps. I created the update build, uploaded it to a new release. This worked it the editor build. While this worked in the editor build, because everything was already up to date. For the build I had previously made, nothing changed. No new maps were loaded in. I am wondering wheter the changes did not take place in my game due to the addressable profile the player was build under. which is "built-in" for local and "Cloud Content Delivery" for remote.

      @maxfun6797@maxfun67978 ай бұрын
    • @maxfun6797 Hey thanks for the update. The remote build path should be cliud content delivery, it should be custom. Double check the video thoroughly and you should be good to go. Also make sure post change is set to "Can change past release"

      @Skye-Games@Skye-Games8 ай бұрын
  • But i mean, the content you loaded from the server was already in the build, right? you just added it to a new prefab or rearranged a prefab, what difference would it be from just serializing the prefab and its dependencies?

    @armandoferreira1346@armandoferreira13463 ай бұрын
    • No, Then content is completely loaded from the server. This would allow you to have content updates without updating the game exe itself. In theory, you could indeed do this yourself by serializing all the assets and their dependencies but addressables makes it easy so do so.. doing it on your own be a huge headache

      @Skye-Games@Skye-GamesАй бұрын
  • Is LiveOps gone now? Is this possible to use with GoogleDrive?

    @idontunderstandnihongoqwq940@idontunderstandnihongoqwq9403 ай бұрын
    • Hi! From a google search it seems like LiveOps is still a thing! I have doubts about using Google drive for this, I have used it for similar things in the past and they have many limitations for data storage/retrieval (from a Unity Game standpoint atleast)

      @Skye-Games@Skye-Games18 күн бұрын
  • once the asset is downloaded, will it download the asset again when the game is reopened?

    @pavanvenkat9182@pavanvenkat91823 ай бұрын
    • No, The downloaded assets are chached. It will only be redownloaded when changes are made to the asset on the server

      @Skye-Games@Skye-GamesАй бұрын
  • can you make a video on how to do this with scriptable objects?

    @superdahoho@superdahoho3 ай бұрын
    • ?

      @Skye-Games@Skye-Games3 ай бұрын
  • Hello if a house is load with the assest system it will not load again??and stored in memory

    @LG_ZoRooo@LG_ZoRoooАй бұрын
    • Hi, correct. It will be stored in persistent memory

      @Skye-Games@Skye-Games18 күн бұрын
    • @@Skye-Games O thnx for the reply brother 🤡❤️

      @LG_ZoRooo@LG_ZoRooo18 күн бұрын
    • @@LG_ZoRooo haha no worries

      @Skye-Games@Skye-Games18 күн бұрын
    • @@Skye-Games 🗿🚬👍

      @LG_ZoRooo@LG_ZoRooo18 күн бұрын
    • Why you quit KZhead

      @LG_ZoRooo@LG_ZoRooo18 күн бұрын
  • In my case, ReleaseInstance is not deleting the object.

    @MohammadFaizanKhanJ@MohammadFaizanKhanJ28 күн бұрын
  • Your site seems to be down. Studio closed?

    @phyzix101@phyzix1013 ай бұрын
    • My site was hacked and everytime I get it up and running again all the content disappears

      @Skye-Games@Skye-GamesАй бұрын
  • default local group should be used for local addressable related tasks only I guess. isn't it

    @Sarthakz99@Sarthakz993 ай бұрын
    • I am not sure, I have not seen that reccomendation anywhere🧐

      @Skye-Games@Skye-Games3 ай бұрын
  • Why you quit KZhead

    @LG_ZoRooo@LG_ZoRooo18 күн бұрын
  • In your example, this would mean that every player downloads the 30MB. For 10.000 Player this would be 250GB that get charged, therefore 20$ right? So this is most useful for texture skins and seasonal items but not levels or high detail meshes? Thanks!

    @BinHierFalsch@BinHierFalsch7 ай бұрын
    • Hey, Good question. No as far as I know, you only get charged for the storage space you are using. So I can store up to 50GB (I can't remember the exact number) regardless of player count or downloads without getting charged

      @Skye-Games@Skye-Games7 ай бұрын
    • Hello@@Skye-Games. It's bandwidth. So you can send 50 gb of data for the players for free.

      @suleimanabduljan5849@suleimanabduljan58495 ай бұрын
    • @@suleimanabduljan5849 thanks for the clarification!

      @Skye-Games@Skye-Games5 ай бұрын
  • your web site is a white empty page

    @chadgtr34@chadgtr346 ай бұрын
    • Thanks so much for letting me know. I am on it

      @Skye-Games@Skye-Games6 ай бұрын
KZhead