Why is unity so slow!

  Рет қаралды 68,248

Jason Storey

Jason Storey

Күн бұрын

Ever wonder what that loading bar is actually doing?
Visit:
www.ko-fi.com/jasonstorey
To join the discord!
----------
00:00 - Introduction
00:12 - Exploring the Unity Project Directory
00:28 - Understanding Script Assemblies
01:16 - Examining Assembly-CSharp.dll
02:00 - Multiple Assembly-CSharp.dll Files
04:08 - Using Assembly Definitions
04:51 - Improving Workflow with External Building

Пікірлер: 196
@thomasbrush
@thomasbrush 2 жыл бұрын
Jason Storey! You've grown so much. Perfect voice, look and skill to be a KZfaq dev! nice camera and lighting too.
@JimBob652
@JimBob652 2 жыл бұрын
I can't believe you left it on a cliff-hanger! I sat through this going "yes, yea the pain, yup." and I thought you was going to show the magical solution, but nope instead "catch you on the next one" lmao. Over all great video, and I'm so looking forward to the next video :)
@Morphexe
@Morphexe Жыл бұрын
Guess there won't be a next video ahahah
@abulak3477
@abulak3477 Жыл бұрын
feels familiar oh yes unity promises
@Meithighs
@Meithighs Жыл бұрын
@@Morphexe his next videos were completely unrelated.. :/
@Morphexe
@Morphexe Жыл бұрын
@@Meithighs sadly it seems it was all empty promises. Had potencial.
@tPlayerioT
@tPlayerioT Жыл бұрын
same lol.
@InfallibleCode
@InfallibleCode 2 жыл бұрын
Using games built in Unity to demonstrate this topic is brilliant. Another great video, Jason! I'm on the edge of my seat waiting for the next one :D
@handleneeds3charactersormore
@handleneeds3charactersormore Жыл бұрын
not sure you will read this but I used to love your videos, always chill + concise and to the point. but then they became poorly acted telenovelas and that made me left. It truly felt like you didn't care at all about the viewer's time but rather the view time and you were just looking for ways to pad out your video length. total opposite of old school infallible code
@googleuser4720
@googleuser4720 Жыл бұрын
Its been a year... Well.. We're waiting!
@karolpadiasek5461
@karolpadiasek5461 11 ай бұрын
@@googleuser4720 yup, still waiting ;)
@GameDevGuide
@GameDevGuide 2 жыл бұрын
Great work pal! This is an excellent supplement to the Assembly Definitions video I made, and goes into more technical detail about what's ACTUALLY happening and why. Love it. Will be sharing this on the Discord.
@NicolasFrugoni1
@NicolasFrugoni1 2 жыл бұрын
Great explanations! Love that you finally have your channel and are uploading content!!
@mrvastayan
@mrvastayan 2 жыл бұрын
You forgot to do the next video!
@georgeaggelopoulos7791
@georgeaggelopoulos7791 2 жыл бұрын
Great content: explaining perfectly, in 5 minutes, a simple but extremely helpful concept/tip. Thank you.
@christinaVennegerts
@christinaVennegerts 2 жыл бұрын
Great Video. You have an amazing style to explain concepts so even I as a beginner don't feel lost. Great Timing and thank you for not hurrying along. I'm hoping to see many more Videos :)
@ZloyDinozavrik
@ZloyDinozavrik 2 жыл бұрын
This one is a cool topic scratcher video! Looking forward to check out the next one!
@TopShelfCookieJar
@TopShelfCookieJar 2 жыл бұрын
The explanation was great, but combining it with some simple worked examples really helped cement it in my brain. Thank you!
@Cameo221
@Cameo221 2 жыл бұрын
Awesome video; I've always used assembly definition assets, but this video reinforces my motivation to use them and gained a deeper understanding. Very cool :D
@Jacob___THE_Jacob
@Jacob___THE_Jacob 2 жыл бұрын
Beautiful video. Explanations are great. Keeping it short helps with attention span. Great content man keep it up :)
@PitiITNet
@PitiITNet 2 жыл бұрын
Thanks for covering that! Fantastic video! Every time I see one of your videos I learn something new :).
@AlexBlackfrost
@AlexBlackfrost 2 жыл бұрын
Great video! Looking forward to the next one.
@mattsponholz8350
@mattsponholz8350 2 жыл бұрын
Look at you casually optimizing EVERYTHING!!! Thank you and looking forward to your next video 😄
@MarkeMarkXYZ
@MarkeMarkXYZ 2 жыл бұрын
While I already knew how to do this, I don't know why I didn't understand the significance of it until Jason explains it in such a clear way. Keep this content coming Jason, it is pure gold.
@rsmith6894
@rsmith6894 2 жыл бұрын
Very useful , Short and sweet. Keep the coming please.
@BigRookDigital
@BigRookDigital 2 жыл бұрын
Great info, keep it coming! This hits home as Unity inefficiencies have always been a big nightmare.
@CCV334
@CCV334 2 жыл бұрын
Subscribed and excited for the implementation in the next video!
@ewwitsantonio
@ewwitsantonio 2 жыл бұрын
This is SUCH good content. Thank you, thank you, thank you!
@Jerkovic74
@Jerkovic74 2 жыл бұрын
Very good stuff! Keep it up Jason.
@jorhoto7064
@jorhoto7064 2 жыл бұрын
Great info, can't wait for next video! Thank you!!
@CodemasterJamal
@CodemasterJamal 2 жыл бұрын
I definitely need to re-arrange some things in my project. This tutorial was awesome. I think this is why it takes my game so long to compile itself.
@jauntybear
@jauntybear 2 жыл бұрын
Excellent content and production quality thanks
@jsn4591
@jsn4591 2 жыл бұрын
Stoked to see you've got your own channel!
@twistedliverstudio
@twistedliverstudio 2 жыл бұрын
Oh man the cliff hanger... good stuff waiting on next video. @Jason Storey keep the content coming this is great.
@philberex
@philberex Жыл бұрын
Thank you for this informative video Jason.
@skillitronic9596
@skillitronic9596 2 жыл бұрын
Thank you for the content, you do a great job covering such topics. I hope you will make more similar videos (medium level)
@mad_man_86
@mad_man_86 Жыл бұрын
Short and sweet tutorial, thank you! I would love to see that "next video" though ;D
@MarekNijaki
@MarekNijaki 2 жыл бұрын
Pretty short but useful. Keep that good work 😃
@Immudelki
@Immudelki Жыл бұрын
Great video
@CG_CAKE
@CG_CAKE 2 жыл бұрын
Jason Great video , I saw you on the stream of Jason Weimann , and we met inside the arena Giveaway as well that day haha Thx again for great tutos and advises.
@Danningt0n
@Danningt0n 2 жыл бұрын
Loading bar is almost as slow as your upload schedule! 🙃 Looking forward to the next tutorial! 🍿
@Morphexe
@Morphexe 2 жыл бұрын
Just found this gem of a channell! Nice job covering some real pain points of unity! When is the next video coming ? :) I find that topic quite interesting and would love to see how you do it! Good Job!
@farahzehra8952
@farahzehra8952 11 ай бұрын
Thank you for creating this video and improving our knowledge!
@Rovsau
@Rovsau 2 жыл бұрын
This is exactly what I didn't know I needed. Been searching for something like this for a long time. From the depths of my brackets, I.Thank(You);
@KyranFindlater
@KyranFindlater 2 жыл бұрын
great stuff mate! keep it up!
@flaviokonti5522
@flaviokonti5522 2 жыл бұрын
Thanks very informative, waiting for next video
@lewaplay
@lewaplay 2 жыл бұрын
That's a pretty clear explanation, thank you
@LackingGumption
@LackingGumption 2 жыл бұрын
you are the best. I was talking to a friend the other day complaining about my slow computer needing to refresh the assemblies everytime before testing my games. I had no idea this was possible. thank you so much for being a god at what you do :D
@ArnoVai
@ArnoVai 2 жыл бұрын
Looking forward to the next video!
@rickloyd8208
@rickloyd8208 3 ай бұрын
OMG and you have never created a video explaining how to compile it and put it in Unity directory. I am using separate assemblies but your solution seems to be even faster than that. At least you mentioned few keywords and I know in which direction to continue research! THANK YOU!
@BagarraoEduardo
@BagarraoEduardo Жыл бұрын
Awesome content Jason! When the part 2 of this video will be available?
@hotroddd1
@hotroddd1 2 жыл бұрын
Really like this. Thank you.
@shadowblaster124
@shadowblaster124 2 жыл бұрын
I never would have known this. I wouldn't have known it was a problem, nor how to look online for a solution. Thank you!
@Stagg86
@Stagg86 9 ай бұрын
Great video! Thank you!
@MarcV_IndieGameDev
@MarcV_IndieGameDev 2 жыл бұрын
I'll be waiting for the next one! This may help all newbs(myself included) out there save hours and hours of waiting to recompile, cheers for this! Much appreciated.
@OldM8
@OldM8 2 жыл бұрын
Still waiting for that next video :) :) :)
@81gamer81
@81gamer81 Жыл бұрын
We need the next video! Think you said it once in other Jasons stream a while back how to make your own dll the proper way. Though it was just my computer being old, but even on my new NVME SSD unity is slow to build even when usng assembly defenition
@frederickfreund1957
@frederickfreund1957 2 жыл бұрын
Thank you for the nice explanation :D
@axelman145
@axelman145 2 жыл бұрын
Soo looking forward to what you have to say on the DLL thing!:))
@RichardTongeman
@RichardTongeman 2 жыл бұрын
Thanks! this is such good knoweldge
@MohammadFaizanKhanJ
@MohammadFaizanKhanJ 2 жыл бұрын
Scientific json with mind-blowing video after a long time! Thanks
@EskildAnd
@EskildAnd 2 жыл бұрын
Can't wait for the next one :)
@humadi2001
@humadi2001 2 жыл бұрын
We’re waiting for the next video!
@Ari-ez1vj
@Ari-ez1vj 2 жыл бұрын
what a phenomenal video
@Eclipsed_Archon
@Eclipsed_Archon 2 жыл бұрын
Best channel on KZfaq for this kind of content!
@ceroenblanco
@ceroenblanco Жыл бұрын
Things I didn't know I needed to know after 6 years using Unity. You got my sub.
@shariarpapaon5305
@shariarpapaon5305 2 жыл бұрын
for some reason I just feel like this knowledge just instantly made my unity skills go up significantly.. This adds so much flexibility and actually the fact I know what really goes on behind my scripts.
@darryljf7215
@darryljf7215 2 жыл бұрын
This is a long loading time for the next video ... :)
@allanmacdonald2943
@allanmacdonald2943 2 жыл бұрын
awesome stuff, thanks!
@CornRecords972
@CornRecords972 2 жыл бұрын
This was incredibly educational
@jeffmccloud905
@jeffmccloud905 2 жыл бұрын
great video. been using C# and VS for 20 years, so separate DLLs, references, namespaces, etc. are second nature to me. but when I got into Unity, it seemed confusing and limited. this is a strange little method to make separate DLLs but this practice should be much more common. Example: if you need to patch the network code in your game. If your network logic is in its own assembly, your patch might only need to distribute that one small DLL.
@zeroone8548
@zeroone8548 2 жыл бұрын
cant wait for next video ;p
@HexPlays
@HexPlays Жыл бұрын
next video on this please jason!
@filipathtc
@filipathtc 2 жыл бұрын
Thank you Jason!
@nocultist7050
@nocultist7050 2 жыл бұрын
Thanks Json. I'll hold my breath for next video.
@rohitaug
@rohitaug 2 жыл бұрын
This seems really cool. If I understand correctly, creating assembly definitions allows you to compile scripts into separate DLLs so that when a change is made to a script only the associated DLL needs to be recompiled instead of the entire Unity project. If that is the case, I'm confused as to why you would need to build the DLLs manually instead of letting Unity handle it. Does Unity rebuild all DLLs in the project by default each time? That seems like it would defeat the purpose of assembly definitions.
@pliniomourao
@pliniomourao 2 жыл бұрын
Good question.
@Belliger1991
@Belliger1991 2 жыл бұрын
Depends on what is the default assembly definition, it seams to automaticly create a new unique assembly so nothing breaks, most likely with a hash as name and afterwards links it in. If you write you own it is fixed as well so it should partly resolve the issue. (Plugins will not adhere and still clutter it up over time) But if you build external you can make shure all changes are covered in this newway with no leftovers cluttering it up :)
@micaiahstevens8840
@micaiahstevens8840 2 жыл бұрын
I finished that dll process months ago, but CAN"T wait to see how you do it. Great series of videos so far. I don't remember if I saw you anywhere else, but your solo videos are working out soo much better. I would LOVE a video on Marvin, and that other project manager one. Obsidian. I think I get obsidian, since its free'ish. BUt 'amazing' Marvin, the one I found was paid. So WOULD love a break down and more real life how you do it vs their help project. AND how you setup windows desktops. I think I could do the desktops, but a quick overview would rock! AND do you have a better work flow for your tags, html, mark up code for Obsidian. LIKE how you built that, HOW to replace default unity scripts. I need that level of documentation, but easy to look up. Was looking like a nice html webpage, but was in Obsidian I gather.
@karelmarek5984
@karelmarek5984 2 жыл бұрын
Hype! Can we expect that if we do it ourselves, it can be much faster than the Unity way?
@supertenchoo4271
@supertenchoo4271 2 жыл бұрын
This is Expert Info Great Video
@YAS-vm8ko
@YAS-vm8ko 2 жыл бұрын
You save our time! I am a newbie dev, I don't know doing this could break unity or not, but I will try it. You are such an amazing developer. Edit: Looking for the next video.
@veganmonter
@veganmonter 2 жыл бұрын
I admit, I should be looking under the hood more than I do. I treat Unity like a tool, don't care what engine it has, as long as it gets me to my goal. However, I know if I learned more on how it works, I would improve my overall results. Also, thanks again Storey! Love what you're adding to the community.
@alextreme98
@alextreme98 2 жыл бұрын
Lmao, never thought of this. Thanks for this sneak peek behind the scenes.
@albertmontagutcasero2129
@albertmontagutcasero2129 2 жыл бұрын
Awesome video, Jason, I'm following your videos. I am trying to work similar, decoupling the business logic from the technologies like unity. I would appreciate a video explaining how to separate this layers correctly. For example, when we are programming a Mario game, the Mario model can't have vectors or use the engine tools like physics checks. Also, are x and y coordinates part of the business part? If they are used to calculate things, maybe yes. But if it's just for rendering in the screen, maybe not. How do you decide it?. My approach would be having a unity class (MarioUnity) and then the Model (that is testable, etc). Works fine, but the logic is split into the infrastructure layer and the business layer. It has benefits, but it's not perfect. It would mean the world if you could answer this. Thank you. :)
@eaglenebula2172
@eaglenebula2172 2 жыл бұрын
Coming right before the important part and not actually doing it even almost a whole year later, great.. super helpful...
@JasonStorey
@JasonStorey 2 жыл бұрын
Sorry, had some life stuff come up. Have a full refund.
@eaglenebula2172
@eaglenebula2172 2 жыл бұрын
@@JasonStorey 😂 Tbf I'm frustrated at the script change iteration time nothing more :(
@Hassher34985
@Hassher34985 2 жыл бұрын
I'm looking forward for the next video, my game go crazy 20 seconds after pressing play
@newf_gg1230
@newf_gg1230 2 жыл бұрын
Yo nice follow up video man, real fuckin sick.
@x364
@x364 2 жыл бұрын
Very informative! Thank you! Had a bit of trouble with with importing Cinemachine but that's easily fixable by adding an Assembly Definition Reference for `com.unity.cinemachine`.
@pixelb0i255
@pixelb0i255 2 жыл бұрын
OMFG! Thank you.
@jeniferirwin
@jeniferirwin 2 жыл бұрын
I love assembly definitions. I've been using them since IC covered them and I find it to be a really pleasing way to organize things. I haven't yet built a project that is big enough to really have a noticeable change in compile times, but I'm glad to know that I'll be easily taking advantage of the shorter compile times when I *do* make a big project, because I'm already in the habit of making assembly definitions. It's kinda cool that we can pretty easily identify what games were built in Unity because of the Assembly-CSharp thing! I always love learning that a game has been made in Unity because that means I can look at it and say 'I can make something like this happen if I put my mind to it.'
@handleneeds3charactersormore
@handleneeds3charactersormore Жыл бұрын
man here explaining how this issue hurts iteration processes and you come up with compile times 💀💀💀
@MoogieSRO
@MoogieSRO 2 жыл бұрын
Did he never make the follow-up video to this? Talk about bait-n-switch!
@roxforgegames4548
@roxforgegames4548 Жыл бұрын
Jason, this channel has a lot of potential. Come back!
@The-devllopperBlogspot
@The-devllopperBlogspot Жыл бұрын
Thank you
@Gyozamang
@Gyozamang Жыл бұрын
it's sad he just stopped this channel had crazy good potential and he had a really good view count too. I don't know why you'd dump a channel doing so well
@karpai5427
@karpai5427 11 ай бұрын
because he does not want to share his secret of building the game, because someone else may finish a video game before him.
@syedzainulabedin93
@syedzainulabedin93 Жыл бұрын
Thank you!
@albertluna1001
@albertluna1001 2 жыл бұрын
I really hope you do the next step in the next video to learn how to do it
@AgostinhoRenner
@AgostinhoRenner 2 жыл бұрын
Where is the second part? D=
@larryd9577
@larryd9577 2 жыл бұрын
Where is the promised video on automation of unity dll building and attaching?
@pixelart0124
@pixelart0124 5 ай бұрын
Your next video talks about Software Architecture. Did you ever end up making the assembly video, as you mentioned at the end of this video?
@Cyberfoxxy
@Cyberfoxxy Жыл бұрын
i also noticed that versions 2019 + seem to show the compile loading bar twice.
@DeathxStrike18
@DeathxStrike18 2 жыл бұрын
wheres this next video lol
@yusuferoglu9287
@yusuferoglu9287 2 жыл бұрын
Perfect!!!
@akioasakura3624
@akioasakura3624 Жыл бұрын
Goat channel, when 100k subs?
@galrose7165
@galrose7165 2 жыл бұрын
if you finish a vid with a teaser for next video about the external compilation, please link some where (in video or in vid description) so we can find it ;)
@maroso_
@maroso_ 2 жыл бұрын
Nice videos
@elmagnifico9667
@elmagnifico9667 Жыл бұрын
I installed unity 2 days ago and it takes 10+ minutes to load a core 2D project, anyway to speed it up? My pc is i5, 8gb ram, 2gb nvidia 820m any suggestions?
@loizosrr
@loizosrr 2 жыл бұрын
Bro wtf you discovered ! Very nice tip!
@useijin
@useijin Жыл бұрын
Assemblies have always existed in Unity, but I believe that assembly definition exists since Unity 2017.3. The thing is that it is a recent feature and nowadays is a must to know. Assembly definition is extremely powerful in any type of projects. The important mindset is to achieve greater efficiency and reusable code in less time. Keep bless.
@yogiwp_
@yogiwp_ Жыл бұрын
Was there a follow up on this video?
@Asylum3D
@Asylum3D 2 жыл бұрын
Agreed. I have been making a huge game for a few years. Assembly Def's are a life saver. It takes to long to recompile everything every time. More time coding, less time waiting.
How to find any resource you are looking for!
12:39
Jason Storey
Рет қаралды 20 М.
A BETTER way to setup new unity projects!
15:44
Jason Storey
Рет қаралды 54 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 120 МЛН
Can You Draw A PERFECTLY Dotted Circle?
00:55
Stokes Twins
Рет қаралды 45 МЛН
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 292 М.
Speed Up Compile Times in Unity with Assembly Definitions
9:54
Game Dev Guide
Рет қаралды 88 М.
11 Things You (Probably) Didn't Know You Could Do In Unity
13:49
Game Dev Guide
Рет қаралды 149 М.
Software Architecture in Unity
7:13
Jason Storey
Рет қаралды 114 М.
10 Things You NEED to Be Doing in Unity
11:40
Tarodev
Рет қаралды 128 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 410 М.
Watch this if you've never tried JOBS in Unity (Tutorial)
10:32
Sasquatch B Studios
Рет қаралды 5 М.
The 6 Design Patterns game devs need?
24:20
Jason Weimann
Рет қаралды 363 М.
Unity Performance Tips: Draw Calls
4:24
Lofi Dev
Рет қаралды 183 М.
Easier when using this tip
1:00
Anh Đầu Bếp
Рет қаралды 20 МЛН
Getting kids hooked on motorcycles not drugs 👏
0:18
Twinstunts
Рет қаралды 7 МЛН
You and me belong together
0:19
Like Nastya
Рет қаралды 9 МЛН
Всегда снимай кольцо на речке
0:34
RICARDO
Рет қаралды 6 МЛН
Арт. 138097667 мои супер находки #wildberries покупки для дома #ozon #aliexpress #яндекс
0:17
Находки | Распаковки | Обзоры с WILDBERRIES
Рет қаралды 6 МЛН