Why is unity so slow!

  Рет қаралды 70,793

Jason Storey

Jason Storey

Күн бұрын

Пікірлер: 200
@thomasbrush
@thomasbrush 2 жыл бұрын
Jason Storey! You've grown so much. Perfect voice, look and skill to be a KZbin dev! nice camera and lighting too.
@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 Жыл бұрын
@@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.
@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 2 жыл бұрын
Guess there won't be a next video ahahah
@abulak3477
@abulak3477 2 жыл бұрын
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.
@OldM8
@OldM8 2 жыл бұрын
Still waiting for that next video :) :) :)
@Immudelki
@Immudelki Жыл бұрын
Great video
@TopShelfCookieJar
@TopShelfCookieJar 2 жыл бұрын
The explanation was great, but combining it with some simple worked examples really helped cement it in my brain. Thank you!
@georgeaggelopoulos7791
@georgeaggelopoulos7791 2 жыл бұрын
Great content: explaining perfectly, in 5 minutes, a simple but extremely helpful concept/tip. Thank you.
@rickloyd8208
@rickloyd8208 6 ай бұрын
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!
@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.
@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.
@NicolasFrugoni1
@NicolasFrugoni1 2 жыл бұрын
Great explanations! Love that you finally have your channel and are uploading content!!
@mattsponholz8350
@mattsponholz8350 2 жыл бұрын
Look at you casually optimizing EVERYTHING!!! Thank you and looking forward to your next video 😄
@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
@HexPlays
@HexPlays 2 жыл бұрын
next video on this please jason!
@Danningt0n
@Danningt0n 2 жыл бұрын
Loading bar is almost as slow as your upload schedule! 🙃 Looking forward to the next tutorial! 🍿
@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.
@mrvastayan
@mrvastayan 2 жыл бұрын
You forgot to do the next video!
@math_music99
@math_music99 Ай бұрын
kzbin.info/www/bejne/m6DZm5VrrdNrr5I
@ewwitsantonio
@ewwitsantonio 2 жыл бұрын
This is SUCH good content. Thank you, thank you, 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 :(
@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);
@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.
@BagarraoEduardo
@BagarraoEduardo 2 жыл бұрын
Awesome content Jason! When the part 2 of this video will be available?
@81gamer81
@81gamer81 2 жыл бұрын
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
@mad_man_86
@mad_man_86 2 жыл бұрын
Short and sweet tutorial, thank you! I would love to see that "next video" though ;D
@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 💀💀💀
@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.
@BigRookDigital
@BigRookDigital 2 жыл бұрын
Great info, keep it coming! This hits home as Unity inefficiencies have always been a big nightmare.
@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
@jorhoto7064
@jorhoto7064 2 жыл бұрын
Great info, can't wait for next video! Thank you!!
@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.
@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!
@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.
@AlexBlackfrost
@AlexBlackfrost 2 жыл бұрын
Great video! Looking forward to the next one.
@ceroenblanco
@ceroenblanco Жыл бұрын
Things I didn't know I needed to know after 6 years using Unity. You got my sub.
@twistedliverstudio
@twistedliverstudio 2 жыл бұрын
Oh man the cliff hanger... good stuff waiting on next video. @Jason Storey keep the content coming this is great.
@pszznm
@pszznm 2 жыл бұрын
Hype! Can we expect that if we do it ourselves, it can be much faster than the Unity way?
@larryd9577
@larryd9577 2 жыл бұрын
Where is the promised video on automation of unity dll building and attaching?
@jauntybear
@jauntybear 2 жыл бұрын
Excellent content and production quality thanks
@PitiITNet
@PitiITNet 2 жыл бұрын
Thanks for covering that! Fantastic video! Every time I see one of your videos I learn something new :).
@jsn4591
@jsn4591 2 жыл бұрын
Stoked to see you've got your own channel!
@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!
@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.
@MarekNijaki
@MarekNijaki 2 жыл бұрын
Pretty short but useful. Keep that good work 😃
@ZloyDinozavrik
@ZloyDinozavrik 2 жыл бұрын
This one is a cool topic scratcher video! Looking forward to check out the next one!
@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 :)
@humadi2001
@humadi2001 2 жыл бұрын
We’re waiting for the next video!
@rsmith6894
@rsmith6894 2 жыл бұрын
Very useful , Short and sweet. Keep the coming please.
@nocultist7050
@nocultist7050 2 жыл бұрын
Thanks Json. I'll hold my breath for next video.
@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 :)
@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 :)
@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 Жыл бұрын
because he does not want to share his secret of building the game, because someone else may finish a video game before him.
@roxforgegames4548
@roxforgegames4548 Жыл бұрын
Jason, this channel has a lot of potential. Come back!
@AgostinhoRenner
@AgostinhoRenner 2 жыл бұрын
Where is the second part? D=
@Dyornos
@Dyornos 2 жыл бұрын
Where is the next video? This has been up for 6 months but no next video..?
@earthinvader3517
@earthinvader3517 2 жыл бұрын
The issue is when you place you code in external DLL (not the assembly definition way), you lost the stacktrace line number information. I used this approach before and when an error occurs inside a function from the DLL, I could not know the exact line that raise the exception. The time to to track the issue in this case could exceed the compile time. ( My project is not huge so my compile time is not very long so I simply prefer to put my code in the project). It doesn't mean its not worth putting code in external dll. Some hard to change stable codes could be extracted to DLL to help a bit.
@JasonStorey
@JasonStorey 2 жыл бұрын
Did you delete the PDB file that was included with your debug build? That is what it is for. It maintains stack trace information for debugging into dlls. It also wont be created for you if you build in release mode as it assumes... you are releasing.
@earthinvader3517
@earthinvader3517 2 жыл бұрын
@@JasonStorey I did copy paste the PDB alongside the debug DLL but don't know why the stacktrace show line 0 for all stack frames. It was so frustrating and I gave up. Anyway, thanks for the reply. Really didn't expect that. Looking forward to your next video.
@MohammadFaizanKhanJ
@MohammadFaizanKhanJ 2 жыл бұрын
Scientific json with mind-blowing video after a long time! Thanks
@Varelze
@Varelze 2 жыл бұрын
Is the next video still coming?
@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.
@Eclipsed_Archon
@Eclipsed_Archon 2 жыл бұрын
Best channel on KZbin for this kind of content!
@CCV334
@CCV334 2 жыл бұрын
Subscribed and excited for the implementation in the next video!
@axelman145
@axelman145 2 жыл бұрын
Soo looking forward to what you have to say on the DLL thing!:))
@Malicos
@Malicos 2 жыл бұрын
The juicy t-bone steak cliffhanger ending!
@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)
@philberex
@philberex Жыл бұрын
Thank you for this informative video Jason.
@albertluna1001
@albertluna1001 2 жыл бұрын
I really hope you do the next step in the next video to learn how to do it
@pixelart0124
@pixelart0124 8 ай бұрын
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?
@Jerkovic74
@Jerkovic74 2 жыл бұрын
Very good stuff! Keep it up Jason.
@jtmcfarland3512
@jtmcfarland3512 8 ай бұрын
Will we ever get the second half? Kinda hard to utilize at my level of inexperience only with part 1. 😅
@DeepWorksStudios
@DeepWorksStudios 8 ай бұрын
I agree
@BillyBenz
@BillyBenz Жыл бұрын
After using it for few years, I concluded that You got to have a rocket science super computer in order to use Unity smoothly 😂
@NickPavlov00
@NickPavlov00 2 жыл бұрын
Actually as a general tip to everyone dump your external packages in to a separate folder add an assembly definition so that unity won't rebuild those all the time aswell!.
@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`.
@pliniomourao
@pliniomourao 2 жыл бұрын
Where's the next video? i'm going crazy.
@darryljf7215
@darryljf7215 2 жыл бұрын
This is a long loading time for the next video ... :)
@alextreme98
@alextreme98 2 жыл бұрын
Lmao, never thought of this. Thanks for this sneak peek behind the scenes.
@yousefal-hadhrami7853
@yousefal-hadhrami7853 Жыл бұрын
Where is the next video?
@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.
@MoogieSRO
@MoogieSRO 2 жыл бұрын
Did he never make the follow-up video to this? Talk about bait-n-switch!
@Hassher34985
@Hassher34985 2 жыл бұрын
I'm looking forward for the next video, my game go crazy 20 seconds after pressing play
@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?
@ArnoVai
@ArnoVai 2 жыл бұрын
Looking forward to the next video!
@zeroone8548
@zeroone8548 2 жыл бұрын
cant wait for next video ;p
@lewaplay
@lewaplay 2 жыл бұрын
That's a pretty clear explanation, thank you
@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. :)
@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 ;)
@yogiwp_
@yogiwp_ Жыл бұрын
Was there a follow up on this video?
@CornRecords972
@CornRecords972 2 жыл бұрын
This was incredibly educational
@Stagg86
@Stagg86 Жыл бұрын
Great video! Thank you!
@Ari-ez1vj
@Ari-ez1vj 2 жыл бұрын
what a phenomenal video
@jonathansaindon788
@jonathansaindon788 2 жыл бұрын
Still waiting for the second video ;)
@supertenchoo4271
@supertenchoo4271 2 жыл бұрын
This is Expert Info Great Video
@hotroddd1
@hotroddd1 2 жыл бұрын
Really like this. Thank you.
@flaviokonti5522
@flaviokonti5522 2 жыл бұрын
Thanks very informative, waiting for next video
@Cyberfoxxy
@Cyberfoxxy Жыл бұрын
i also noticed that versions 2019 + seem to show the compile loading bar twice.
@0xF81
@0xF81 Жыл бұрын
Where is that next video? Where is the link?
@akioasakura3624
@akioasakura3624 Жыл бұрын
Goat channel, when 100k subs?
@3dsmaxrocks699
@3dsmaxrocks699 2 жыл бұрын
Why does unity say reload script assemblies on play every time?
@krishnansubramoni7801
@krishnansubramoni7801 2 жыл бұрын
Literally waiting for my Unity to finish importing stuff for the 3rd time, while watching this. 😂🧡
@Norbingel
@Norbingel 2 жыл бұрын
How dare you make me realize I need the solution, then tease me a "catch you in the next one!"
@newf_gg1230
@newf_gg1230 2 жыл бұрын
Yo nice follow up video man, real fuckin sick.
How to find any resource you are looking for!
12:39
Jason Storey
Рет қаралды 20 М.
Software Architecture in Unity
7:13
Jason Storey
Рет қаралды 119 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 18 МЛН
10 Things You NEED to Be Doing in Unity
11:40
Tarodev
Рет қаралды 133 М.
A BETTER way to setup new unity projects!
15:44
Jason Storey
Рет қаралды 56 М.
Assembly Definitions in Unity
7:56
Infallible Code
Рет қаралды 77 М.
11 Things You (Probably) Didn't Know You Could Do In Unity
13:49
Game Dev Guide
Рет қаралды 154 М.
Speed Up Compile Times in Unity with Assembly Definitions
9:54
Game Dev Guide
Рет қаралды 91 М.
Why 96% of Indie Games Fail
14:31
Going Indie
Рет қаралды 327 М.
Giving Personality to Procedural Animations using Math
15:30
t3ssel8r
Рет қаралды 2,5 МЛН
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 297 М.
Unity Architecture for Noobs - Game Structure
16:24
Tarodev
Рет қаралды 199 М.
Stop Wasting your Time!
4:32
Jason Storey
Рет қаралды 22 М.
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26