How to Spawn Objects anywhere in Unity3D (and a bit of addressables)

  Рет қаралды 34,126

Jason Weimann

Jason Weimann

Күн бұрын

Check out the Course: bit.ly/3i7lLtH
-------
In this video, I'll show you a few ways to spawn gameobjects wherever you want by clicking on the ground, then we'll take a look at the addressables system and talk about how you can use it to spawn your gameobjects as well. This is definitely a unity tutorial for beginners (other than the last few minutes), but it's exactly what I wish I would have had when I first started and was trying to spawn objects myself. If you're interested in instantiation or having a hard time with the unity instantiate calls, this video should help put you on the right path :)
More Info: unity3d.college
Join the Group: unity3d.group
Patreon: / unity3dcollege

Пікірлер: 67
@alexchesser5209
@alexchesser5209 4 жыл бұрын
yeah - I'd really like to see a talk on addressable assets, and asset bundles
@Unity3dCollege
@Unity3dCollege 4 жыл бұрын
It's very high on my list now :) Addressables are really exciting imo, seems like an obvious route for big projects :)
@JesusAmaTeMenino
@JesusAmaTeMenino 4 жыл бұрын
Yes, I was reading a lot about it in the past week. Super interesting stuff.
@crabstar7312
@crabstar7312 4 жыл бұрын
Thanks! I'm always learn something useful from your videos.
@rickloyd8208
@rickloyd8208 4 жыл бұрын
Thanks for another video, just finished unit testing. To be honest the part with interfaces is a bit complicated to setup but at least I saw another justification to use interfaces, thanks! I will also try remember shortcuts to create properties and move classes to its own file automatically :)
@123Billygoatman123
@123Billygoatman123 4 жыл бұрын
I would also like to see more on addressables. Great video!
@pavankumarm2969
@pavankumarm2969 4 жыл бұрын
Awesome video.... Looking forward for tutorial video on addressables... Thank you
@ErodonTV
@ErodonTV 2 жыл бұрын
addressable saved my project , thanks bunch
@spiral9316
@spiral9316 4 жыл бұрын
Hey addressables sounds very good definitely interested Thank you
@michaelwieland3221
@michaelwieland3221 4 жыл бұрын
That was a very helpfull video. Thank you
@PhilllChabbb
@PhilllChabbb 3 жыл бұрын
thank you saved my life!
@rickloyd8208
@rickloyd8208 4 жыл бұрын
Thanks for awesome video tutorial! I spent half a year to fix all bugs which asset bundles has with loading and unloading resources (I mean real bugs from Unity) and now they (Unity) offers us to move to accessables or what ever it is. I tried to move from asset bundles as they were well advertised but I faced issues straight from the beginning and I gave up. After your video I will give it a second chance to impress me :)
@Robber7
@Robber7 4 жыл бұрын
Nice as usual! Play at 1.5x if you think hes too slow :D
@F3L0
@F3L0 4 жыл бұрын
I was about to write " I want this UI theme .." and at the same time you said " It's the Beta version " amazing
@ScareFire
@ScareFire 4 жыл бұрын
That's why you gotta wait for people to finish their sentence before asking questions x] (no offence)
@tanu3873
@tanu3873 4 жыл бұрын
Wouldn't mind a video on addressable that covers modding support or how to add DLCs to your game.
@beaverjoe9171
@beaverjoe9171 4 жыл бұрын
I just watched the noteKey yesterday and you start to use the new UI/UX interface on Unity
@mosth8ed
@mosth8ed 4 жыл бұрын
Thank you for using a dark theme. Saving my eyes. For the love of St. Peter though, please do the same with (Rider?). Everything I have is all a nice relaxing dark gray, and even with my monitors at < 10% brightness when you pull up your IDE it blasts my eyes. That being said, I would definitely be interested in a full Addressables video. I was considering using it in my ECS learning project.
@jeffmoore6917
@jeffmoore6917 4 жыл бұрын
They make certain glasses to cut down on the blue spectrum, which brings the shock value down a bit. Also, is it possible to tweak other settings other than just the brightness? Hoping that may help a bit with your experience.
@BrainSlugs83
@BrainSlugs83 4 жыл бұрын
Dark theme is harder on my eyes. I don't fully understand the appeal.
@user-mq2ie1tu5r
@user-mq2ie1tu5r 3 жыл бұрын
you are amazing i love atching you with my frindes and famely
@kerrybrown1192
@kerrybrown1192 4 жыл бұрын
Thanks for another great tutorial. Can you share the Rocket class that is used by the TypedRockedSpawner. Regards,
@parthpandya008
@parthpandya008 4 жыл бұрын
+1 for addressable in details
@Sp1derFingers
@Sp1derFingers 4 жыл бұрын
Yes do the addressable video. Thanks
@IndieFist
@IndieFist 4 жыл бұрын
Have you used addressable for instance gameobjects previously baked with ligthmaps? and another question is about occlusion, would be occludee that item instanced with addreessable?
@GameDevJosh
@GameDevJosh 4 жыл бұрын
Can you do a video on caching if you havent already? Very interested in seeing the benefits of doing this.
@VaustXIII
@VaustXIII 4 жыл бұрын
Benefits of caching: speed Disadvantages of caching: cache invalidation
@gower1973
@gower1973 4 жыл бұрын
That rocket looks suspiciously like the rocket that you make in the Grant Abbitt tutorial:)
@fluffyluffy884
@fluffyluffy884 4 жыл бұрын
Yes please do the addressable video
@BrainSlugs83
@BrainSlugs83 4 жыл бұрын
I'm really interested in Asset Bundling (did I understand right, that addressables can help enable that?), the documentation reads like really vague Greek to me, but my understanding is that I can reduce build time by putting assets into a bundle that is loaded at runtime and that I don't have to rebuild those assets every time I build my project. Is that right? Would love to learn more. (Seems like a bug in Unity to be frank though. Most compilers look and see if the compiled file is newer than the source and skip building it if it is. Unity seems to want to rebuild and rebake everything, even when nothing changes. Coming from a C# background, multi-minute build times feel ridiculous to me. But in Unity, some mobile developers, in the forums, complain about multi-hour build times. That's insane!)
@Dxpress_
@Dxpress_ 4 жыл бұрын
I needed a good way to reference a set of at least 100 possible prefabs that can be intstantiated for my project. Resources.Load relies on string comparisons, AssetBundles are just clunky to work with, and storing all instances of the prefabs in memory for easy referencing is just a waste of memory, since they're not all going to be used at once. Addressables seem to be exactly the thing I've been looking for. Wish I've known about them sooner.
@KenSchaefer67
@KenSchaefer67 4 жыл бұрын
Thank you for the video. I seem to be setting up something wrong. My prefabs are appearing halfway in the cube: only the top half of the rocket is visible. What is the noob mistake that I am making here?
@BrainSlugs83
@BrainSlugs83 4 жыл бұрын
I think I'm going to switch to private serialized fields from now on; if I can't expose public properties to the editor, I can at least avoid public fields. Thanks for the tip.
@andylockhart257
@andylockhart257 4 жыл бұрын
Yea please on another video around addressables!
@treasuredoasis4783
@treasuredoasis4783 4 жыл бұрын
Definitely addressables! Can you have a list of addressables and do stuff with it like instantiate a random one, or is that better to do with normal gameobject lists?
@quentinturner3753
@quentinturner3753 4 жыл бұрын
This comment is needed!
@freeju2001
@freeju2001 4 жыл бұрын
Jason the Unity Master is here! then No Fear! love ya Jason
@Tymon0000
@Tymon0000 4 жыл бұрын
cool lamp
@antoinemaes
@antoinemaes 2 жыл бұрын
I managed to make it work yesterday night, saved everything... aaaand it doesn't work anymore today (just by loading small project up). I get a NullReferenceException where the prefab is actually referenced... Even remade it completely, can't get it to work anymore ! Anyways, thanks for all the tutorials ! :)
@Jestroo
@Jestroo 4 жыл бұрын
I shared it on Myspace
@Ermelious
@Ermelious 4 жыл бұрын
Anyway to set AssetReference by code instead of in the inspector?
@andrewm4815
@andrewm4815 4 жыл бұрын
What if i want to instantiate an object but if the object already exists replace it for the new one on the default position?
@astevezimm
@astevezimm 4 жыл бұрын
I'd be interested in a video on what you like about Rider over Visual Studio
@mosth8ed
@mosth8ed 4 жыл бұрын
I have been using Rider for about a year now. The short answer is pretty much everything. Give this a watch. kzbin.info/www/bejne/bX3IiaBnqMmknM0
@astevezimm
@astevezimm 4 жыл бұрын
Thanks, I'll look into it
@jasonbartlett1357
@jasonbartlett1357 4 жыл бұрын
I'm getting an "ArguementException: The Object you want to instantiate is null." Any thoughts?
@samirehman4565
@samirehman4565 4 жыл бұрын
make tutorial on trajectory please
@djteogeo
@djteogeo 4 жыл бұрын
How do you define the type Rocket though?
@carlabalos3884
@carlabalos3884 3 жыл бұрын
I don't understand how that happen too but I think it is a class.
@suicidedeath3955
@suicidedeath3955 3 жыл бұрын
Do you know how to spawn objects on its specific lane by push of a button? Example 3 lanes A, B, and C, player stands on lane B then press a button to spawn an object to in that specific lane which is lane B, if player stands on lane A, push a button then an object will now spawn on lane A.
@Scarletraven87
@Scarletraven87 4 жыл бұрын
What if I wanna spawn them like in Tetris?
@RDD87z
@RDD87z 2 жыл бұрын
i dont know how does unity know minirocket is a rocket object? . is there a parent "ROCKET" ??
@amandos17
@amandos17 4 жыл бұрын
How to spawn using a keyboard button ?
@habibahmiah1693
@habibahmiah1693 2 жыл бұрын
If someone has written the script please can they send it to me
@sylvainatoz2045
@sylvainatoz2045 4 жыл бұрын
share it, put it on MySpace. eh! hum!
@stormcaster6322
@stormcaster6322 4 жыл бұрын
FIRST!
@rickloyd8208
@rickloyd8208 4 жыл бұрын
Dude I saw video when it was 53 sec released but I am not attention whore to write: first, grow up plz
@stormcaster6322
@stormcaster6322 4 жыл бұрын
@@rickloyd8208 Imagine being named Rick lol
@algharibe
@algharibe 4 жыл бұрын
Hi .... ADVICE to be a professional Unity game developer
@mosth8ed
@mosth8ed 4 жыл бұрын
Practice. Then practice some more. When you are done practicing, practice some more.
@algharibe
@algharibe 4 жыл бұрын
@@mosth8ed thank you
@Unity3dCollege
@Unity3dCollege 4 жыл бұрын
I just got done recording a video saying almost exactly that! :)
@sinistergeek
@sinistergeek 3 жыл бұрын
11111 view lol
@cghow
@cghow 4 жыл бұрын
anyone interested in Unreal Engine Niagara Tutorials!!?
@mosth8ed
@mosth8ed 4 жыл бұрын
No
@The28studio
@The28studio 4 жыл бұрын
Nah
Unity3D Physics - Rigidbodies, Colliders, Triggers
30:25
Jason Weimann
Рет қаралды 158 М.
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 11 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 55 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
Adding FLIGHT to my DREAM video game
6:15
AIA
Рет қаралды 170 М.
The Ultimate Introduction to Scriptable Objects in Unity
20:45
Professional animator works on subscribers' Unity games for free.
22:20
ULTIMATE Event System for Unity Beginners
8:27
This is GameDev
Рет қаралды 44 М.
BABY Comedy : Birthday Baby and Kind Man ❤️
0:36
BABY Comedy
Рет қаралды 3,9 МЛН
САМЫЙ ЖАРКИЙ ШТАТ (@therealoscarmendez - TT)
0:23
В ТРЕНДЕ
Рет қаралды 19 МЛН
Why are all guys such show-offs?
0:20
F&T Team
Рет қаралды 19 МЛН
Heavy package 🤭🤣 #demariki
0:25
Demariki
Рет қаралды 8 МЛН