Version control & project organization best practices

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 44

  • @Astro648
    @Astro648 2 года назад +12

    I had literally decided today to set up version control for my project, and then you guys come out with this. What a coincidence. Thank you for the help!

    • @thomaskrogh-jacobsen3687
      @thomaskrogh-jacobsen3687 2 года назад

      Glad that this information was helpful. Check out the ebook we created for more tips. We also created a few blog posts with some more tips from experts.

  • @BBdaCosta
    @BBdaCosta 2 года назад +8

    Great video, talking about code guidelines with a team improves a lot of communication and reduces the friction between people. Like I use to say, "I cannot agree with these practices but If it was agreed in the project guidelines I will defend to the death".

    • @thomaskrogh-jacobsen3687
      @thomaskrogh-jacobsen3687 2 года назад

      Yes, great point on agreeing on standards. There really is no right or wrong. It's what works for you but agreeing as a team on some clear guidelines can help remove a lot of friction and discussions

  • @splashmaker2
    @splashmaker2 2 года назад +7

    Another tip is to ignore generated files, since they come from some source. Most things are added to the ignore config templates, but I think some teams may want to ignore lightmap bakes and store in some sort of cheaper cache. Not too hard to write some PowerShell to push/pull that from a shared drive somewhere.

  • @eierschaedl
    @eierschaedl Год назад

    The Arnie is strong on this one =) Thanks btw.

  • @maxhuk
    @maxhuk 2 года назад +3

    Thank you!

  • @awesomemike3857
    @awesomemike3857 2 года назад +4

    Awesome video

  • @rdragon587
    @rdragon587 2 года назад +4

    Cool. Thanks)

  • @y01cu_yt
    @y01cu_yt 2 года назад +3

    Thanks!

  • @__ian94__
    @__ian94__ 2 года назад +3

    muchas gracias.

  • @advanches
    @advanches 2 года назад +1

    If I have prefabs with scripts in them, should those scripts be in the Scripts folder or the Prefabs folder?

    • @johndawal7529
      @johndawal7529 2 года назад +2

      A bit late reply but it should be under Scripts folder. Scripts under scripts folder, and prefabs under prefabs folder. It's to avoid looking for certain scripts then realizing it's under prefabs folder or to avoid moving scripts from scripts folder to prefabs when you realize it's for a specific prefab.

  • @seppukun208
    @seppukun208 2 года назад +1

    Thank you for the lesson in Varzion Control Mr. Schwarzenegger

  • @krystianh4384
    @krystianh4384 Год назад

    How would you keep Unity version consistent between team members?

  • @Bjarkediedrage
    @Bjarkediedrage 2 года назад +4

    If spaces and empty folders cause issues for a version control system. I'd say, don't use that version control system!

  • @europademon
    @europademon 2 года назад +14

    Your CEO is killing your product.

    • @surgicalmaterials
      @surgicalmaterials 2 года назад +1

      He did apologize, although I admit it will take a while before the dust settles. But I’m still going to use Unity despite all this controversy. You can’t even call two-thirds of the deal a controversy. Only the CEO talking trash and the worker lay-off (probably due to economic problems) is the real controversy. People are assuming that since Unity is partnered with ironSource, they’re going to install malware everywhere now. Wrong, wrong, wrong, and also wrong.

    • @europademon
      @europademon 2 года назад

      @@surgicalmaterials if you think that was an apology, I got beach front property in Colorado for you to buy.

    • @surgicalmaterials
      @surgicalmaterials 2 года назад +3

      @@europademon dang, thats too far from where I live. Can I get it by delivery?

    • @europademon
      @europademon 2 года назад

      @@surgicalmaterials I'm sure it can be arranged.

  • @mehmetkeremceylan9915
    @mehmetkeremceylan9915 2 года назад +2

    Good , you are uploading video about version control but Plastic scm is nightmare for ours(Crashes,wrong merges,stucks).Please fix all plastic scm issues and make totally stable for unity.

    • @umapessoa6051
      @umapessoa6051 2 года назад +1

      Yes, i was forced to upgrade from collab to plastic, it started freezing the whole project and crashing...
      Pretty buggy tool with some weird things like not being able to delete a branch...
      Removing it solved it, now i only use github.

    • @tofaani
      @tofaani 2 года назад +1

      Plastic scm should not be in unity. Should have default support of bitbucket and GitHub

  • @nbsst5593
    @nbsst5593 2 года назад

    Every time I open a blank 2D project it takes more than 20 minutes even though I have a 4GB graphics card and 16 RAM it seems that this program is getting bad with time Are there any solutions to this problem

  • @r1pfake521
    @r1pfake521 2 года назад +1

    English isn't my native language but I still understood everything they said, maybe you should go to a hearing test or to a english class.

  • @unlockener
    @unlockener 2 года назад +13

    First? Btw the voiceover is hard to understand.

    • @ruslan_yefimov
      @ruslan_yefimov 2 года назад

      Same

    • @Hipernt
      @Hipernt 2 года назад

      Maybe he is a British

    • @EricWilliamsCG
      @EricWilliamsCG 2 года назад +1

      It was voiced by Arnold Schwarzenegger

    • @thomaskrogh-jacobsen3687
      @thomaskrogh-jacobsen3687 2 года назад

      Sorry to hear that guys. We have now added captions to the video and I'll try to do a better job next time. Thanks for letting me know.

    • @thomaskrogh-jacobsen3687
      @thomaskrogh-jacobsen3687 2 года назад

      @@EricWilliamsCG I wish I was able to convince Mr. Schwarzenegger to help with the voiceover :-)

  • @sqwert654
    @sqwert654 2 года назад

    I backup the laZy way, copy the whole project to a dated folder. after a 1 month the whole lot goes to my offline NAS

  • @Alex-re3qm
    @Alex-re3qm 2 года назад +2

    How about unity actually finishes a game Gigaya before it goes around telling others the best ways to make games?

  • @umapessoa6051
    @umapessoa6051 2 года назад +3

    If you are seeing this, DON'T USE PLASTIC SCM.
    I upgraded from collab to plastic on a project i was making for ~2 years, it literally broke the project, it started freezing the whole Unity, this happened every day for 10 days, even reinstalling the project didnt solved, then i got rid of it and started using github for my project, it never froze again.

    • @TheJeffries7
      @TheJeffries7 2 года назад +1

      Sounds like an issue with your Plastic config. I've used Perforce, Git and Plastic over the years and GIt is probably my least favourite on any project bigger than a game jam.

    • @tofaani
      @tofaani 2 года назад +1

      Agree 💯

    • @umapessoa6051
      @umapessoa6051 2 года назад

      @@TheJeffries7 it wasn't, this happened to at least 3 friends in different projects, and people still complain about this every week on Unity official discord server

  • @MichaelWinterberg
    @MichaelWinterberg 2 года назад

    Awesome video -> but hard to understand speach -> please take out the potato while speeking ;-))

  • @nbsst5593
    @nbsst5593 2 года назад +1

    A failed program and failed developers. All you care about is the money. Why don't you improve the program? It goes back 2000 years. I use Unity 2021 lts and open an empty project. The waiting period for the project to open reaches 25 minutes and we are now in 2022. What is this?