How many Rigidbodies can Unity support?

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2017
  • In this video we push Unity Physics to its limit. Will it crash?
    ● Test Spreadsheet: goo.gl/CEcRs7
    ● Mini Profiler: goo.gl/j8AENY
    ● Unity Perfomance: Editor vs. Standalone: goo.gl/cwKLsn
    ● Crysis Physics Test: goo.gl/sSDnrD
    ❤️ Donate: www.paypal.com/donate/?hosted...
    Get Unity: store.unity.com/?aid=1101lPGj
    ····················································································
    ► Join Discord: / discord
    ♥ Subscribe: bit.ly/1kMekJV
    ● Website: brackeys.com/
    ● Facebook: / brackeys
    ● Twitter: / brackeystweet
    ········································­­·······································­·­····
    Edited by the lovely Sofibab & LeBonques.
    ········································­­·······································­·­····
    ► All content by Brackeys is 100% free. We believe that education should be available for everyone.
    ❤️ Donate: www.paypal.com/donate/?hosted...
    ········································­­·······································­·­····
    ♪ Baby Plays Electro Games
    teknoaxe.com/cgi-bin/link_code...

ความคิดเห็น • 1.4K

  • @Povilaz
    @Povilaz 4 ปีที่แล้ว +775

    0:41 "To no surprise this scene ran smoothly"
    My PC: Three FPS, take it or leave it.

    • @CranyUnknown
      @CranyUnknown 4 ปีที่แล้ว +7

      nice one

    • @aleed2764
      @aleed2764 4 ปีที่แล้ว +8

      underrated

    • @axethannanth
      @axethannanth 4 ปีที่แล้ว +2

      Ye

    • @polski228
      @polski228 4 ปีที่แล้ว +4

      theres three, actually

    • @devvydoesstuff
      @devvydoesstuff 4 ปีที่แล้ว +2

      Three FPS or it shuts down and you lose all progress

  • @AncientEntity
    @AncientEntity 6 ปีที่แล้ว +2870

    But can it run crysis?

    • @nax2337
      @nax2337 6 ปีที่แล้ว +100

      Ancient Entity *Insert overused reply to overused comment here*

    • @maxisjoe
      @maxisjoe 6 ปีที่แล้ว +79

      You need a military hardware PC to run crysis

    • @magnusm4
      @magnusm4 6 ปีที่แล้ว +16

      "ba dum tss"

    • @esteveguineueta2328
      @esteveguineueta2328 6 ปีที่แล้ว +33

      One does not simply run Crysis.

    • @Johnjohncar
      @Johnjohncar 6 ปีที่แล้ว +14

      Ancient Entity HEY VSAUCE MICHAEL HERE

  • @averageviewer5218
    @averageviewer5218 5 ปีที่แล้ว +154

    Your pc: Handles 5000 cubes running smoothly
    My pc: Spawn 1 cube and dies

    • @jabobthegod
      @jabobthegod 4 ปีที่แล้ว +13

      my pc: *dies when starts up*

    • @FredWheatFill
      @FredWheatFill 4 ปีที่แล้ว +6

      SkyLimited my pc: dies when i think before my hand even touches the on button

    • @jabobthegod
      @jabobthegod 4 ปีที่แล้ว +4

      my pc: “dies”

    • @craftlofer9974
      @craftlofer9974 3 ปีที่แล้ว +2

      my laptop when i put a single light in 2D: OH NO THERE IS LIGHT DECREASE THE FPS DECREASE ITTT
      and then the game start glitching

    • @rusluck6620
      @rusluck6620 ปีที่แล้ว

      bruh
      my pc died during the manufacturing phase

  • @samlovescoding
    @samlovescoding 6 ปีที่แล้ว +2070

    Well your video says : "How many Rigidbodies can Unity support?". But the title is wrong. It should have been : "How many Rigidbodies can My Computer support?"

    • @insanitylol
      @insanitylol 4 ปีที่แล้ว +71

      Yep unity is a game engine and probably supports nearly inf.

    • @scscyou
      @scscyou 4 ปีที่แล้ว +13

      Also this video should be updated for new ECS feature :)

    • @ajddavid452
      @ajddavid452 4 ปีที่แล้ว +42

      @@insanitylol yeah run unity on a super computer and bam, 9.999E+9999999999999999999999999999 rigidbodies

    • @anonymoussource8705
      @anonymoussource8705 4 ปีที่แล้ว +1

      yeah

    • @kommandant.357
      @kommandant.357 4 ปีที่แล้ว +4

      I got a Intel i5 lats gen a Intel uhd 620 and 8gb ram so it definitely can't run it lol

  • @AlexVoxel
    @AlexVoxel 6 ปีที่แล้ว +871

    My pc is exploding with 10 😂

    • @Sagedurk
      @Sagedurk 6 ปีที่แล้ว +161

      That's not a pc, that's a potato XD

    • @humoroushumor544
      @humoroushumor544 6 ปีที่แล้ว +161

      PC (Potato Computer)

    • @TimSlee1
      @TimSlee1 6 ปีที่แล้ว +72

      What type of calculator did you buy?

    • @hleghe810
      @hleghe810 6 ปีที่แล้ว +6

      Alex Voxel I feel like something is wrong there then

    • @steez8337
      @steez8337 6 ปีที่แล้ว +28

      Tim Slee some japan selled me tablet with "mirror function". Later i realized that was just mirror.

  • @YasserSedrati
    @YasserSedrati 6 ปีที่แล้ว +1893

    the professionalism

    • @ironandthread
      @ironandthread 6 ปีที่แล้ว +17

      IT'S OVER 9000!!!!

    • @Sacharias1
      @Sacharias1 6 ปีที่แล้ว +1

      buzzkill

    • @Kioselis
      @Kioselis 6 ปีที่แล้ว +3

      You're very stale for thinking that "dead" memes are not viable anymore.

    • @hleghe810
      @hleghe810 6 ปีที่แล้ว

      Eimantas Zievys how do you know they were talking about that specifically?

    • @Kioselis
      @Kioselis 6 ปีที่แล้ว +1

      He deleted his comment so....

  • @cryawncrow
    @cryawncrow 5 ปีที่แล้ว +57

    "It's a pretty standard setup."
    >Dual Intel Xeon processors

    • @psycleed8120
      @psycleed8120 4 ปีที่แล้ว +1

      ok. but why does he sound like derik zoolander

  • @neociber24
    @neociber24 6 ปีที่แล้ว +285

    Do you see the video on Unity channel called "Writing High Performance C# Scripts?"
    I don't remember if had Rigybodies but they handle 100,000 Gameobjects at 60 fps.

    • @RokabiumGames
      @RokabiumGames 6 ปีที่แล้ว +2

      Yep, that was an awesome vid! :) I would have thought that using the new Entity Component System it must help tons.

    • @JimGiant
      @JimGiant 6 ปีที่แล้ว +16

      Yeah brilliant video.
      I used the same technique of handling each object's movement in a single script in the game I'm working on:
      www.newgrounds.com/portal/view/699433

    • @Sixxx93
      @Sixxx93 6 ปีที่แล้ว +5

      @jim at first I was: "3D snake? Wtf.... must be boring", I started playing and as the snake was getting bigger I was feeling like: "wow it's so cool to watch and play avoiding my own tail", noice! :D

    • @JimGiant
      @JimGiant 6 ปีที่แล้ว

      Thanks bro. It was never meant to be more than a silly experiment but it got a lot more attention than I expected so I decided to try and actually make it fun. I wish I saw the writing high performance scripts video before I started though, I think I could have had it handle 10x more objects if I did.

    • @ZacharyHelm
      @ZacharyHelm 6 ปีที่แล้ว

      Some of the features in that video aren't even released yet or even in Unity documentation (publicly) :P

  • @simon.in.motion
    @simon.in.motion 6 ปีที่แล้ว +6

    This was an incredibly interesting video ! Thank you so much for all of these years of Unity, more than just helping me, you really have entertained me :) Cheers from France.

  • @JohnLoops
    @JohnLoops 6 ปีที่แล้ว +13

    That nostalgia in the beginning of the video brought me back to me messing up with cryengine 2, and the Crysis memes, of course... Thank you Brackeys ;)

  • @LewisGaming99
    @LewisGaming99 6 ปีที่แล้ว +651

    Unity pleb I personally use the far superior professional engine...
    Yes you guessed it Scratch.

    • @Ankko
      @Ankko 6 ปีที่แล้ว +36

      pff, ur such a casual pleb, REAL pros use greenfoot

    • @praveensharma9893
      @praveensharma9893 6 ปีที่แล้ว +10

      UNREAAAAAALL

    • @neptune2758
      @neptune2758 6 ปีที่แล้ว +47

      Guybrush Threepwood how foolish. Hour of code games are far superior

    • @praveensharma9893
      @praveensharma9893 6 ปีที่แล้ว

      Guybrush Threepwood lol Crytek beats Epic? Hoowwiieee

    • @Waff1e_
      @Waff1e_ 6 ปีที่แล้ว +4

      Nah, the TRUE code language is Whitespace and Lolcat,

  • @grftaNitro
    @grftaNitro 6 ปีที่แล้ว +7

    THERE IS SO MUCH TO LEARN ON YOUR CHANNEL ITS AMAZING

  • @jonyleo500
    @jonyleo500 6 ปีที่แล้ว +453

    "Pretty standard"... has 32Gb of Ram -_-

    • @fixated8166
      @fixated8166 6 ปีที่แล้ว +21

      i mean, its avg speed ram, and, pun unintended, size really doesn't matter

    • @Manny444a
      @Manny444a 6 ปีที่แล้ว +3

      jonyleo500 He actually has 8gb

    • @Manny444a
      @Manny444a 6 ปีที่แล้ว +6

      hahayesokay No he has 8gb of ram made up of 4 2gb sticks.

    • @magnustaarnberg3350
      @magnustaarnberg3350 6 ปีที่แล้ว

      he has 32gb

    • @pohatunuva3771
      @pohatunuva3771 5 ปีที่แล้ว

      >tfw both computers combined have 12 gigs of ram

  • @SixxFox
    @SixxFox 6 ปีที่แล้ว +51

    Brackey's is back at it again! Very interesting test to watch to see what Unity can handle.

    • @magnusm4
      @magnusm4 6 ปีที่แล้ว +1

      You can do better with some C# skill and some third party stuff

    • @SixxFox
      @SixxFox 6 ปีที่แล้ว

      Interesting! :D

    • @albond
      @albond 6 ปีที่แล้ว

      SixxFox *Brackeys

  • @philiphanhurst2655
    @philiphanhurst2655 4 ปีที่แล้ว

    This was my first video of yours that I ever watched. After realizing you had tutorials your channel quickly became one of my favorite.
    Thank you so much for getting me into Unity!

  • @Robin-bd2ox
    @Robin-bd2ox 6 ปีที่แล้ว

    The video was low-key awesome, btw got a nice screenshot of your setup :)

  • @Chizzoide
    @Chizzoide 6 ปีที่แล้ว +159

    How many Rigid bodies can Sasha Grey support?

    • @daddydangerous20
      @daddydangerous20 6 ปีที่แล้ว +8

      Over 9000.. (yearly :D)

    • @helphelpimbeingrepressed9347
      @helphelpimbeingrepressed9347 6 ปีที่แล้ว +2

      Over 9000?! I bet she doesn't go outside wearing a skirt on windy days for fear of being asked whats that clapping noise?

  • @JustJunuh
    @JustJunuh 6 ปีที่แล้ว +619

    I felt like I was watching 9/11 simulations for the first few minutes

    • @avi4767
      @avi4767 6 ปีที่แล้ว +8

      Junuh 4:51

    • @beansncheese9127
      @beansncheese9127 6 ปีที่แล้ว +4

      Junuh so your joking about a terrorist attack where people died? seems fitting you’d have a ugandan knuckles profile picture.

    • @JustJunuh
      @JustJunuh 6 ปีที่แล้ว +2

      i hope you have a great day :D

    • @beansncheese9127
      @beansncheese9127 6 ปีที่แล้ว

      Junuh Toché

    • @JackDLong
      @JackDLong 6 ปีที่แล้ว +1

      Thicken Strip
      Fuck you

  • @eyli
    @eyli 6 ปีที่แล้ว

    This was a really awesome video idea, keep up the good work!

  • @xanny57
    @xanny57 6 ปีที่แล้ว

    This video was awesome as always! I love your videos! And please do experiments more often! And maybe do a shader tutorial in the future? :)

  • @luizzeroxis
    @luizzeroxis 6 ปีที่แล้ว +254

    Did the video just ended abruptly and was cut short?

    • @oakherder17
      @oakherder17 6 ปีที่แล้ว +71

      Omar Ch.

    • @Nobbie248
      @Nobbie248 6 ปีที่แล้ว

      Nope it just your browser

    • @REDJ1
      @REDJ1 6 ปีที่แล้ว +8

      no. your grammar ended abruptly and was cut short xD
      (jk btw)

    • @PersonManManManMan
      @PersonManManManMan 6 ปีที่แล้ว +3

      2 Chainz's 2nd Chain nice one, I like how you cut short you're comme-

    • @RazerBlackShark
      @RazerBlackShark 6 ปีที่แล้ว +4

      Wait wha-

  • @Nickgowans
    @Nickgowans 4 ปีที่แล้ว +6

    Never ceases to amaze me that such a powerful piece of software can be free

  • @saltyYagi_
    @saltyYagi_ 6 ปีที่แล้ว

    I love the new look of the logo and thanks for the sick video!

  • @MaeveFirstborn
    @MaeveFirstborn 6 ปีที่แล้ว +2

    I hope to see more videos like this.
    Just screwing around and finding some data.

  • @Sponcered
    @Sponcered 6 ปีที่แล้ว +31

    imagine doing this on the worlds fastest computer

    • @layouty5001
      @layouty5001 5 ปีที่แล้ว +2

      5.000.000.000 = 100 FPS

    • @silly_lil_guy
      @silly_lil_guy 4 ปีที่แล้ว +2

      @@layouty5001 so 10 billion will be 50 FPS? still pretty good FPS, my pc runs roblox at 30 FPS

    • @synapse5791
      @synapse5791 4 ปีที่แล้ว

      1 cube is 1 fps

    • @SunilNmb
      @SunilNmb 4 ปีที่แล้ว

      @@silly_lil_guy ha, my pc cant even run Roblox

    • @sulfurpigeon41
      @sulfurpigeon41 4 ปีที่แล้ว

      @@SunilNmb i have laptop, and he can't support picture.

  • @roko567
    @roko567 6 ปีที่แล้ว +49

    you went 3kliksphilip on this one

    • @andris1337
      @andris1337 5 ปีที่แล้ว

      To much 3kliksphilip

    • @sakiskid
      @sakiskid 5 ปีที่แล้ว +1

      @@andris1337 NEVER enough kliksphilip

  • @gobber121
    @gobber121 6 ปีที่แล้ว

    I really liked this video. I would love to see some more benchmarking of unity if you get any ideas as a I learnt a lot from this one video as it is, thanks can't wait to see more!

  • @trippyy2767
    @trippyy2767 6 ปีที่แล้ว

    Probably the most entertaining and learnable video I've seen on your channel.

  • @SunnyApples
    @SunnyApples 6 ปีที่แล้ว +29

    Brackeys, do you know of any way to export unity animations as films, or is screen capture the only way?
    You could do so many cool physics based animations and it runs very fast, in real time actually, and is kind of easy to set up with scripts. Doing animations like those in a 3D software would be so slow to set up and render. Add some post processing in After Effects and you have an epic looking physics based animation.

    • @nochtans342
      @nochtans342 6 ปีที่แล้ว +3

      PushMyCarr there is a recorder made by unity, saw it somewhere in their neon challenge announcement. Look there.

    • @MrFrostCA
      @MrFrostCA 6 ปีที่แล้ว +3

      There is some recorders in the asset store. Also Unity have one to work with cinemachine and timelime, but its on beta. Here. github.com/Unity-Technologies/GenericFrameRecorder

    • @albond
      @albond 6 ปีที่แล้ว

      MrFrostCA *there ARE

    • @LettuceBunnies
      @LettuceBunnies 6 ปีที่แล้ว

      Albond STFU*

    • @albond
      @albond 6 ปีที่แล้ว

      Skeleton Clique Why?

  • @GoldenD60
    @GoldenD60 4 ปีที่แล้ว +3

    5:18 "Omar"
    **video ended before he could finish what he was saying**

  • @arvin7334
    @arvin7334 6 ปีที่แล้ว

    Awesome!! Thanks for this video. this would be a really great help.

  • @westingtyler1
    @westingtyler1 5 ปีที่แล้ว

    this is one of the best tutorials ever. the format is great.

  • @pascallohscheidt7281
    @pascallohscheidt7281 6 ปีที่แล้ว +6

    Hey Brackeys, Maybe GPU instancing is another thing which helps when it comes to rendering multiple rendering. :) Maybe you could make a scene manager tutorial. To Save Scenes or additive loading of scenes. I really love your work since you are on youtube :) Therefore I´m supporting you on Patreon :)(not much but all i can afford at the moment)

    • @creationsmaxo
      @creationsmaxo 6 ปีที่แล้ว

      GPU instancing only helps if you want multiple instances of the same mesh & materials, but with slight alteration to said material. Otherwise, activating it or not doesn't change much from the static or dynamic batching already in Unity.
      In the case of what is displayed in this video, GPU Instancing would be good if, for example, he was to randomize the colors of the cubes when instantiated. GPU Instancing makes it possible for batched assets to still have "unique attributes" stored onto their unique ID.

  • @MichaelDowns
    @MichaelDowns 6 ปีที่แล้ว +52

    Not only 2 CPUs but 2 Intel Xeons! That's got to be pricey :D
    Keep up the awesome videos Asbjørn! (I hope I spelled that right)

    • @DecalGuy77
      @DecalGuy77 6 ปีที่แล้ว

      yea youtube views pays for it, these people dont have real jobs

    • @channelofstuff6662
      @channelofstuff6662 6 ปีที่แล้ว +6

      ebay $200

    • @Sparrow420
      @Sparrow420 6 ปีที่แล้ว +15

      +Thug Nme, yeah, all that sweet youtube money.
      btw, running a youtube channel is a real and legit job, name one reason it ain't.

    • @MichaelDowns
      @MichaelDowns 6 ปีที่แล้ว +8

      Sparrow I agree that it is a real job, especially what Brackeys is all about, teaching! What's the difference between someone on Udemy and Asbjørn teaching us to program? I know I'm extremely grateful that he's sharing his knowledge with everyone free of charge.

    • @Thulnar
      @Thulnar 6 ปีที่แล้ว +13

      How the heck do you know he doesn't have a "real" job? And btw, good for him if he can pay the bills without doing a daily job he hates, what's the matter with that? I really don't get people... and the more I age the more I don't wish to.

  • @thomaspribitzer5373
    @thomaspribitzer5373 6 ปีที่แล้ว

    That was awesome, thanks for putting in the effort! Funny enough, you're running the exact same setup as mine.

  • @ronnywhispers
    @ronnywhispers 6 ปีที่แล้ว

    Thanks! very useful. I was wondering if you were going to try the particle route and then you did it last. Cheers!

  • @al1ve704
    @al1ve704 6 ปีที่แล้ว +37

    its not how many unity can handle its about how many your computer can handle

    • @remixtheidiot5771
      @remixtheidiot5771 6 ปีที่แล้ว +11

      Jolan Espinal sometimes its the program that has the built in limit, where no matter how muscular and beefy and manly your computer gets it will never go past that programs limit, I've seen programs do this but I don't remember their names anymore.
      Don't use them.

    • @aaronalfer2615
      @aaronalfer2615 6 ปีที่แล้ว +2

      You can write a horrible algorithm that does everything 100x slower than it should, no matter what hardware you're using. So yeah, it's very much about the engine. Compare different engines on the same hardware and you'll get different results.

    • @Argoon1981
      @Argoon1981 6 ปีที่แล้ว +2

      No physics engine that i know has a built in limit, at lest not any professional physics engine, PhysX, Bullet and Newton Physics Engine all use to the max the CPU/cores power of your PC, they behave differently tho, for example Newton Physics Engine uses more physical accurate calculations (there the name) that makes it more CPU heavy but also much more accurate and stable, is the physics engine used on all Frictional Games, games for example. Is the game developers or the Unity engine developers that implement limits on how many physics calculations you can do in a particular game, remember a game also uses the CPU, for AI, Sound, gameplay logic and some graphic effects, you need to save CPU power for the rest of the game, not everyone has 800+€ CPU's. Also people don't think just because you have a Nvidia GPU and the game has PhysX that is the GPU calculating the physics.

    • @leomdk939
      @leomdk939 6 ปีที่แล้ว

      It's both. It's *always* both. The more efficient the code, the less taxing it is on the cpu.

    • @shaunclarke04
      @shaunclarke04 6 ปีที่แล้ว

      its still limited by unity though

  • @Linkard
    @Linkard 6 ปีที่แล้ว +89

    Damn, you only have a GTX 780...
    That's humbling. Keep up the good work man. It shows that you don't need the latest of the latest to make amazing content

    • @off_pudding443
      @off_pudding443 6 ปีที่แล้ว +10

      I doubt you understand the actual differences between a 780 and a newer gpu. There aren't many. The returns on processing power of newer generation video cards are getting smaller and smaller and design has started moving towards increasing memory size and support for newer tech like 4k screens. I have a 660 ti ftw+ that has absolutely no problem running newer games at max settings(1920x1080). Also, the physics calculations have nothing to do with the gpu.

    • @Linkard
      @Linkard 6 ปีที่แล้ว +42

      Congratulations sir, you are very smart. Completely misunderstood what my comment was going for, but who cares, you displayed that you were very smart

    • @off_pudding443
      @off_pudding443 6 ปีที่แล้ว +1

      Ok well then how exactly is it "humbling" to get stuff done with a 780? That's not very smart material btw.

    • @asnaeb2
      @asnaeb2 6 ปีที่แล้ว +31

      A 1080ti is like 3x faster than a 780. Get your head out of your ass.

    • @off_pudding443
      @off_pudding443 6 ปีที่แล้ว +2

      They are most definitely slightly faster and can handle a greater workload. 3x though? That's just stupid. They're not THAT much better that I feel I need to run out and buy the newest and greatest. especially when my current card has no problem running the newest games or making content. You want to spend $700 on a video card? That's great, go waste your money. Tell everyone it's "like 3x faster than a 780" till you start to believe it.

  • @Endar0
    @Endar0 6 ปีที่แล้ว

    Very informative. Thank you!

  • @jason4mc764
    @jason4mc764 6 ปีที่แล้ว +2

    @Brackeys, I was looking at your turtorial for the FPS shooter but now Unity's JointDriveMode is disable so what should I do to replace or fix it???
    You taught this in Ep.5 of the FPS shooter
    Many people need help with this since I have already searched on the forum but I still don't understand so please make a video about it if necessary
    I really need your help because I'm still learning unty and I have no idea what should I do
    So please help me, Brackeys
    PS: Your video is very helpful, please make more!!

  • @mickeypeters502
    @mickeypeters502 6 ปีที่แล้ว +42

    Brackeys, I'm trying to make a android game in Unity but the apk always fail to make.. Could you make a tuturial? Always get the same error (to long to enter here)

    • @Owen3H
      @Owen3H 6 ปีที่แล้ว +3

      mickey peters Post the error as a pastebin link? I maybe able to help you as I had problems with this too but I fixed it

    • @mickeypeters502
      @mickeypeters502 6 ปีที่แล้ว +2

      There are a 2 things that pop up very long errors:
      1ste:
      CommandInvokationFailure: Failed to build apk.
      C:/Program Files (x86)/Java/jdk-9.0.1\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/Java/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
      stderr[
      Exception in thread "main" java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at SDKMain.main(SDKMain.java:130)
      Caused by: java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
      at com.android.sdklib.internal.build.SignedJarBuilder.(SignedJarBuilder.java:177)
      at com.android.sdklib.build.ApkBuilder.init(ApkBuilder.java:446)
      at com.android.sdklib.build.ApkBuilder.(ApkBuilder.java:422)
      at com.android.sdklib.build.ApkBuilder.(ApkBuilder.java:362)
      at UnityApkBuilder.(UnityApkBuilder.java:214)
      at UnityApkBuilder.main(UnityApkBuilder.java:34)
      ... 5 more
      Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
      at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:563)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
      ... 11 more
      ]
      stdout[
      ]
      exit code: 1
      UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
      UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
      UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
      UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
      UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
      2e:
      UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
      at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00207] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:172
      at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00050] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:83
      UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
      (all help is welcome I'm searching and asking on forums how to but not a single answer worked for me.)

    • @Owen3H
      @Owen3H 6 ปีที่แล้ว +1

      Have you tried downgrading to JDK 8 instead of 9?

    • @mickeypeters502
      @mickeypeters502 6 ปีที่แล้ว +1

      Codey Didn't tried that yet doing it tomoro I will let you know if it worked!! Thanks for the help btw !!

    • @TheLuigiGrimaldi
      @TheLuigiGrimaldi 6 ปีที่แล้ว

      mickey peters downgrading should solve the problem like codey said. Had the same issue 2h ago :)

  • @corsaircarl9582
    @corsaircarl9582 6 ปีที่แล้ว +75

    Jaysus I need to know this kind of complicated math just to program in Unity?

    • @albertocalle7006
      @albertocalle7006 6 ปีที่แล้ว +98

      Corsair Carl i see no math in this video

    • @LureThosePixels
      @LureThosePixels 6 ปีที่แล้ว +16

      Alberto Calle only math is the fractions

    • @salvadorkda5758
      @salvadorkda5758 6 ปีที่แล้ว +19

      Well... is like saying : "I need to learn painting to make a House" ?
      Depend on what type of house you gonna build.
      If your game has physics, this si definitively a good video explaining how things works or you can do optimization
      Is simply understanding on the physics engine and her limits.

    • @stevveLP
      @stevveLP 6 ปีที่แล้ว

      No you dont have to know it. Well, you only have to know which button does what, but you dont have to understand how it works. Understanding it would help you obv, but it's not necessary.

    • @The28studio
      @The28studio 6 ปีที่แล้ว +1

      Wtf?

  • @ShahzaibKhan-nm9kx
    @ShahzaibKhan-nm9kx 6 ปีที่แล้ว

    sir you're helping a lot!
    expecting more useful stuff coming in the future❤

  • @4icefire96
    @4icefire96 6 ปีที่แล้ว

    The brackeys exploding was really cool at the end!

  • @xenqor5438
    @xenqor5438 4 ปีที่แล้ว +4

    I wonder how many people are lying about their pc breaking lol

  • @leoingson
    @leoingson 6 ปีที่แล้ว +29

    Thanks for the Dragonball reference :)

    • @dxb8086
      @dxb8086 6 ปีที่แล้ว

      You are an idiot if you feel the need to be thankful for such a nonsense...

    • @thousandsofclowns
      @thousandsofclowns 6 ปีที่แล้ว +3

      You are an idiot if you feel the need to insult a random person on the internet for no apparent reason.

    • @michaeldragon4844
      @michaeldragon4844 5 ปีที่แล้ว

      @@thousandsofclowns lol

  • @Demkeys
    @Demkeys 6 ปีที่แล้ว

    Great video man!

  • @Fkelly21
    @Fkelly21 6 ปีที่แล้ว

    That vertex to cube snippet is now my favourite thing to do in Unity

  • @slayer4810
    @slayer4810 6 ปีที่แล้ว +6

    My GPU fried watching this 👌🏿

  • @hanifisahin4098
    @hanifisahin4098 5 ปีที่แล้ว +3

    rigidbody.exe has stoped working. :)

  • @robwiz9
    @robwiz9 4 ปีที่แล้ว

    A new era of Satisfying videos on youtube? There clearly has to be more of this stuff! 😄

  • @CtrlAltPhreak
    @CtrlAltPhreak 6 ปีที่แล้ว

    Very satisfying to watch. I've been into game development as a hobby for around 20 years. Glad I found your channel. Subbed and liked :)

  • @squally9149
    @squally9149 3 ปีที่แล้ว +3

    RIP Brackeys

  • @Ballacha
    @Ballacha 6 ปีที่แล้ว +11

    Very misleading title. This video is about how to optimise performance, not how many rigidbodies the engine supports. If the content matches the title, this video would be 2 seconds long with the number 2^32 displaying on screen.

    • @olbluelips
      @olbluelips 6 ปีที่แล้ว +1

      A lesson on powers of 2 wouldn't be as interesting.

    • @Ballacha
      @Ballacha 6 ปีที่แล้ว +1

      human interaction 101: you don't lie because the truth is not "as interesting".

    • @olbluelips
      @olbluelips 6 ปีที่แล้ว

      Peida Li Yeah that's true

    • @Slow_d0ge
      @Slow_d0ge 6 ปีที่แล้ว

      I learnt how to optimize from this video, human interaction 101: constructive criticism works and destructive criticism hurts. All in all I rate this video rocked.

  • @lukasbakke6878
    @lukasbakke6878 6 ปีที่แล้ว

    I dont know anything about this but, its still insteresting. Great job

  • @gonzalovittori661
    @gonzalovittori661 6 ปีที่แล้ว

    You madman!!! Loved this video (as always)

  • @ruiccc100
    @ruiccc100 6 ปีที่แล้ว +12

    Going to try with my gtx 1080ti and i7 7700k

    • @green.5268
      @green.5268 6 ปีที่แล้ว +1

      Obvious Troll. Yet you still got baited. Congrats You got me there man. xD

    • @arkyun
      @arkyun 6 ปีที่แล้ว +2

      Kombi if you written this comment then you do care

    • @pi5272
      @pi5272 6 ปีที่แล้ว +1

      temmie shopkeeper Hell the fuck no? xD What kind of thinking is that.

    • @somnia3423
      @somnia3423 6 ปีที่แล้ว +1

      temmie wtf xD

  • @SlantedVFX
    @SlantedVFX 6 ปีที่แล้ว +4

    3kliksbrackeys

  • @RaijdanProductions
    @RaijdanProductions 3 ปีที่แล้ว

    1:16 that fold in rigid bodies that looks like cloth is so satisfying

  • @1988ferry
    @1988ferry 5 ปีที่แล้ว

    The last simple script is awesome, love it :D

  • @AhmadImtiaz320
    @AhmadImtiaz320 6 ปีที่แล้ว +35

    *Make a comprehensive video on "How to implement google play services in a unity project" please. Please*
    (like to bring this comment on top)

    • @kilooneworld
      @kilooneworld 6 ปีที่แล้ว

      yes.

    • @imanolgon
      @imanolgon 6 ปีที่แล้ว +1

      Just search for it, I already added it to my game

    • @randomtube2476
      @randomtube2476 6 ปีที่แล้ว +1

      I have a tutorial on my channel if you want to check it out

    • @AhmadImtiaz320
      @AhmadImtiaz320 6 ปีที่แล้ว

      Thanks. I will check

    • @noshit1128
      @noshit1128 6 ปีที่แล้ว

      Unity script kiddies

  • @davidkoffi985
    @davidkoffi985 6 ปีที่แล้ว +30

    Two Xeon CPUs : then GTX 780.... 8Gbs of DDR3 RAM...HMMMMMMMM something doesn't add upppppppp!!!!!!

    • @hugojeller
      @hugojeller 6 ปีที่แล้ว +6

      hmmm why? it's 4x 8gb = 32gb of RAM, seems about right

    • @Lillu700
      @Lillu700 6 ปีที่แล้ว +4

      True, a 780 in 2017?!? Goodness grace...

    • @flint2368
      @flint2368 6 ปีที่แล้ว +3

      its outdated

    • @ambersharpe8804
      @ambersharpe8804 6 ปีที่แล้ว +1

      So is my 770. Still runs games fine though.

    • @Lillu700
      @Lillu700 6 ปีที่แล้ว

      "Fine" is a rather subjective concept. I'm sure it might run games at 60fps with medium settings at 1920x1080, but can it do 144fps at 2560x1440? Doubt it.

  • @magnusm4
    @magnusm4 6 ปีที่แล้ว

    Wonderful tutorial as always. I love learning about new ways to optimize and use the engine itself. Knowing it runs smoother when making the game really helps when making a final product, so you can expect better performance when your game is running decent in the editor.
    Ever gonna do a tutorial on optimization like the LODgroup and Occlusion Culling features. Learning small things about lighting and particles helps larger games to get off the ground and at least ensure a steady framerate and gameplay instead of lagging the hell out when not staring at the ground, especially object pooling that stuff is hard a fuck

  • @TheOnlineGamesTroll
    @TheOnlineGamesTroll 6 ปีที่แล้ว +1

    Useful Video, keep it up! :)

  • @unbreakablefootage
    @unbreakablefootage 6 ปีที่แล้ว +4

    0:58 "glorious 160 frames per second"
    haha mate thats awful, especially if you consider that you just knocked over a bunch of cubes

  • @MeshalDagriri
    @MeshalDagriri 6 ปีที่แล้ว +43

    Fking math and calculations I'm quitting making games

    • @FdPros
      @FdPros 6 ปีที่แล้ว +58

      nice motivation

    • @Alex_Dul
      @Alex_Dul 6 ปีที่แล้ว +72

      lol. Spoilers, math is everywhere in every facet of life. Don't quit life please.

    • @thinkfast8662
      @thinkfast8662 6 ปีที่แล้ว +5

      Importance of mathematics in game development (and programming in general) is usually highly overestimated.

    • @qwargly
      @qwargly 6 ปีที่แล้ว +1

      Since youre saying that, did you even start?

    • @DamanD
      @DamanD 6 ปีที่แล้ว +8

      im not the best at math but i still like programming and making games..you need more logic than math in programming :)

  • @MrGoatsy
    @MrGoatsy 6 ปีที่แล้ว

    I remember those videos, they where so fun to watch.

  • @TheBeLuvdTRex
    @TheBeLuvdTRex 6 ปีที่แล้ว

    Great information as always!

  • @LaCreArthur
    @LaCreArthur 6 ปีที่แล้ว

    Very funny and informative, well done !

  • @jimmysgameclips
    @jimmysgameclips 6 ปีที่แล้ว

    I admire your dedication, great vid

  • @turbulentt297
    @turbulentt297 6 ปีที่แล้ว

    This has been in my recommended off and on for like 5 months

  • @wizardofthevalley4767
    @wizardofthevalley4767 6 ปีที่แล้ว

    i felt the "its over 9000" reference was totally needed in this video

  • @lewisbirkett4428
    @lewisbirkett4428 6 ปีที่แล้ว

    What was the script that spawned cubes on the meshes vertexes seems really cool

  • @elisson357
    @elisson357 5 ปีที่แล้ว

    Thanks for Sharing This. So Awesome !

  • @gamergustav2632
    @gamergustav2632 6 ปีที่แล้ว

    Har lige fundet din kanal. Den er virkelig god!

  • @NappyWayz
    @NappyWayz 6 ปีที่แล้ว

    Thanks for putting the CPU info, I was thinking of this through the entire video. Please consider presenting that information at the beginning.

  • @marcojoao
    @marcojoao 6 ปีที่แล้ว

    Hey @Brackeys I love your videos, Do you mind to share your skybox that you are using in minute 4:40? Thz!

  • @muratkul7377
    @muratkul7377 5 ปีที่แล้ว +1

    You have to do this test again with the new ECS, that would be interesting to see.

  • @GamingMessiahTV
    @GamingMessiahTV 6 ปีที่แล้ว

    @ 4:38 were you using Post Processing along with a shader? If so what shader?

  • @TheRelaxationStation
    @TheRelaxationStation 6 ปีที่แล้ว

    Does the 2 CPU or Xeon CPU speed up the time from when you press play to when the game actually loads in the Unity Editor? I'm looking to build a PC for Unity but I want to know what (CPU or GPU) I should put more money into to make Unity run smoother and quicker.

  • @DavidBixler
    @DavidBixler 4 ปีที่แล้ว

    Can we get a quick tut for how to snap objects to vertexes or do I just suck at using the searchbox?

  • @PolishGigaChad180
    @PolishGigaChad180 6 ปีที่แล้ว

    Hey i have Just Started Unity and you have Been a Great Help for me!

  • @HiddenRealmLihzahrd
    @HiddenRealmLihzahrd 6 ปีที่แล้ว

    how do you launch the ball like you did in the video?

  • @marknefedov
    @marknefedov 6 ปีที่แล้ว

    Did you check "prebake mesh collision" in build settings?

  • @VeNoM0619
    @VeNoM0619 6 ปีที่แล้ว

    Great video, very interesting.

  • @maerklinistkaize4460
    @maerklinistkaize4460 5 ปีที่แล้ว +1

    The braking Brackeys could be a cool intro

  • @styxrakash4639
    @styxrakash4639 2 ปีที่แล้ว

    Does increasing fixed time step allow for situations where the outcome of a physical interaction is different than if you just let it lag out and calculate everything thru all at once?

  • @llama-berry
    @llama-berry 6 ปีที่แล้ว

    4:10 LOVE THAT!! ”But Why stop there”

  • @asmodeoloyalvillacorta508
    @asmodeoloyalvillacorta508 5 ปีที่แล้ว

    I've been watching most of your vids and I just have to ask, how did you get this smart with code and accretive with it?

  • @ifurkend
    @ifurkend 6 ปีที่แล้ว +1

    Also Shuriken Particle System only uses the cheapest sphere collider for performance sake. Anyway nice video dude.

  • @badscotsman
    @badscotsman 6 ปีที่แล้ว +1

    This would be interesting to revisit with the upcoming C# job system.

  • @dankisdank365
    @dankisdank365 2 ปีที่แล้ว

    3:00 U know there's alot of rigidbodies when they start looking like a 2010 water simulation 😂

  • @corneliuscheddar6755
    @corneliuscheddar6755 4 ปีที่แล้ว

    Now where have I heard that tune before?

  • @Kaiimei
    @Kaiimei 6 ปีที่แล้ว

    I love how my most satisfying day in Unity and Blender was the day I set up a wrecking ball that smashed through a wall and looked glorious. I now feel inadequate after looking at some of these videos.

  • @AlexeyFilippenkoPlummet
    @AlexeyFilippenkoPlummet 6 ปีที่แล้ว

    Air full of floating cubes looks dope. Seriously, you can make a music video / game hit with just this.

  • @darkassassinxx9
    @darkassassinxx9 4 ปีที่แล้ว

    How can I make a wall of cubes like this? I just get a cube explosion when I try like they just fly everywhere

  • @josephstalin9194
    @josephstalin9194 5 ปีที่แล้ว

    My VRChat world (a shooting range) has a large brick wall that I assembled by making each individual brick a rigidbody with a very high friction physic material. It sure is a beautiful sight ingame to shoot it with the RPG I added and watch thousands of bricks spray in all directions. And still have 90FPS WHILE IN VR mind you...

  • @avalonLT
    @avalonLT 6 ปีที่แล้ว

    What kind of color theme in used in Visual Studio ?

  • @quixzotic
    @quixzotic 6 ปีที่แล้ว +1

    Join the Non-Official Brackeys Discord, the more people we have the better the answer quality is!
    discord.gg/5JaD5Jp

  • @indgo5448
    @indgo5448 4 ปีที่แล้ว

    What was the script that made the ball move?