How to setup Source Control for Unreal Engine: Perforce Tutorial

Поділитися
Вставка
  • Опубліковано 25 вер 2024
  • Digital Ocean link: m.do.co/c/9c32...
    Perforce docs: www.perforce.c...
    Try my C++ Survival Game Course:
    bit.ly/unrealsu...
    Discord:
    / discord
    Business Email: contact@reubs.io

КОМЕНТАРІ • 108

  • @adamlentz6708
    @adamlentz6708 3 роки тому +29

    Hey, Reuben! I'm not sure how often you get notifications about older videos on your channel, but I wanted to say that your various videos on Unreal Engine are incredibly helpful. Yesterday, I finally landed my first real, high-paying job using Unreal Engine, and I have you to thank for a large amount of my research sources. Now I'm here again, still learning valuable skills required for my new job. Thank you, Reuben. Don't stop doing what you're doing.

    • @verminology9999
      @verminology9999 2 роки тому

      That's so cool! How have you been doing so far? I hope your experience at your new job has been everything you've ever wanted.

    • @adamlentz6708
      @adamlentz6708 2 роки тому +7

      @@verminology9999 thank you! I actually didn't work in that position for long (2 months), but it opened the door to developing a flight simulator with Boeing! And you timed this comment perfectly, because I was just referred for a promotion to a technical lead position on the project today! I'm already taking on the responsibilities of the UI/UX team lead, so there's a good shot of me getting the promotion. I hope your development endeavors are going well, too!

  • @honestdan322
    @honestdan322 3 роки тому +7

    For new people, the checking out of uassets is also super useful as it locks that file. It means other people can't work on the same uasset at the same time, since you can't merge them (like you can with code). For example, it stops two people accidentally working on a level at the same time, and one person needing to revert all their work. With code you don't have the problem because you can resolve conflicts if two people have worked on the same code file, a process where you can line by line selectively choose which code you want to keep from both versions of the same file.
    Also thanks for the video Reuben. I've been using git as I wanted a free option, but I use perforce at work.

  • @well-phaser
    @well-phaser Рік тому +2

    Thank God for your tutorial i dont know why information is so hard to comeby for perforce set up becuase everybody assumes you already have a server and a workspace even the perforce channel them seleves so thank you. you saved me

  • @markmaxwell1565
    @markmaxwell1565 Рік тому +2

    does anyone know of a updated video as this one does not work anymore

  • @InspectorGeek
    @InspectorGeek 4 роки тому +1

    If you make a video on UGS you are going to be my hero!

  • @unrealdevop
    @unrealdevop Рік тому

    Great Video Man! This is by far the easiest setup I've seen for Perforce hands down.

  • @dantescanline
    @dantescanline 2 роки тому +1

    lifesaver! this shit is so annoyingly complicated for what ends up being pretty simple once you know the right buttons. Thanks!

  • @mheetu3909
    @mheetu3909 3 роки тому +3

    If you're on Windows 10, you should be using the built-in OpenSSH instead of PuTTy. It used to be an optional feature that you had to enable, not sure if that's still the case but something to keep in mind if `ssh` doesn't work in the terminal.

  • @UncleBennyBoy
    @UncleBennyBoy Рік тому +2

    For anyone doing the tutorial now. Your root password is set when you create the droplet. You will not get an email for it. You use that root password to connect with putty

  • @studioinkyfox2295
    @studioinkyfox2295 3 роки тому +1

    That was awesome, did 1:1 the tutorial, worked perfectly fine. Thanks so much for the efforts!

  • @13edan
    @13edan 2 роки тому

    Amazing tutorial! I'm working on a 2 man project so we will be working on a single Unreal Project so source control is a must!

  • @francolignitto2057
    @francolignitto2057 4 роки тому +4

    Great Tutorial! Unfortunately I'm stuck at 15:57 when I try to add my files to the repository it reports only warnings in the log witch says "file(s) not in client view". Is there a way to fix it?

    • @francolignitto2057
      @francolignitto2057 4 роки тому +5

      Ok after long (and useless) researches on google, stackoverflow and perforce forums, I was able to understand that probally the problem was about file mapping. So I fix it creating a new directory called "depot" inside my workplace, and then I put my ue project inside of it (It is very frustating that Helix didn't this automatically, also using the wizard!). For some reason this step was unneeded in the video, but was not for me. Hope it helps..

    • @sachamht
      @sachamht 3 роки тому +1

      @@francolignitto2057 Hey I got the same issue, yeah you just have to create a folder inside your workspace with the same name as your depot

  • @saif0316
    @saif0316 Рік тому +1

    Hey I'm confused, for one I did not get the email telling me what ip to use. And also is there a link that tells you what the command is that you entered into the console? Thank you

  • @DerSmily
    @DerSmily Рік тому

    i can't log in to the p4d client: superadmin - no such user.

  • @elfwaves
    @elfwaves 2 місяці тому

    I get the error "file(s) not in client view" when trying this tutorial.

  • @richardroberts2457
    @richardroberts2457 4 роки тому +3

    Seems as though DigitalOcean has changed the whole UI?! HELP

    • @teidenzero
      @teidenzero 3 роки тому

      with the new UI you need to go to the Administration panel and the users/group panel will pop up

  • @tristangybels8040
    @tristangybels8040 Рік тому

    Thanks for the tut! I have an issue with that my .p4ignore does not work. When i press add it will include all the unnecessary folders as well

  • @lucassantos3476
    @lucassantos3476 2 роки тому

    Hey man, do you know how can I obliterate some revisions from the server when getting an error message about the filesystem 'P4ROOT'? When try to obliterate anything, this message appears "The filesystem 'P4ROOT' has only 1.9G free, but the server configuration requires at least 2G available." and it doesn't let me continue with the deletion, so I'm stuck with a full storage without the option to clean it.
    Thanks

  • @worbarry9735
    @worbarry9735 11 місяців тому

    why do we have to copy the project, what about the original project folder do i still use that how is it linked?

  • @salimp2009
    @salimp2009 3 роки тому +2

    i signed up for the digital ocean and thnk for 100 credit...awesome waiting for the email to setup the server. Does it come a little bit late ???

  • @JaviC77
    @JaviC77 4 роки тому +1

    Thank you !, you saved my life !, I was going crazy to make it work ...

  • @unscripted483
    @unscripted483 4 роки тому

    THANK YOUU!!!! I had perforce set up when I was attending full sail using unitu but I recently tried to set it up on my new PC but I couldn't get it to work unreal

  • @FF-FAN9999
    @FF-FAN9999 2 роки тому

    can we use the volumes with this? Ive already ran out of space in my digital ocean account and increasing it is expensive. Volumes seem cheaper but i have no idea how to set this up

  • @Pikameleon
    @Pikameleon 2 роки тому

    you're a legend! thanks for explaining so simply

  • @heavenseek
    @heavenseek 2 роки тому +1

    I don't get the email after creating the 'droplet'.
    It shows that my droplet has been created but i'm just left floating in a (digital) sea of bewilderment.

    • @lexingtondath6168
      @lexingtondath6168 2 роки тому

      What happened? this happened to me too

    • @heavenseek
      @heavenseek 2 роки тому

      @@lexingtondath6168 I just got no help from their support at all and went over to Github instead. After I left, D.O. started sending me reams of general tutorials till i blocked them.

    • @lexingtondath6168
      @lexingtondath6168 2 роки тому

      @@heavenseek they actually responded to me and i got it functioning

    • @heavenseek
      @heavenseek 2 роки тому

      @@lexingtondath6168 Good to hear that! :)

  • @domenicococcorese5372
    @domenicococcorese5372 Місяць тому

    Stuck at 7:55. It says to me P4PORT is already in use by another P4DCTL service. Is there a way to unlock that port?

    • @domenicococcorese5372
      @domenicococcorese5372 Місяць тому

      Ok apparently it was an old configuration I made before (although the old configuration was NOT running). Simply delete the configuration file in /etc/perforce/p4dctl.conf.d

  • @tamasszenasi2320
    @tamasszenasi2320 2 роки тому

    Is it enough for one of us from the team to pay for it and the others can connect on the cloud server as clients? or every one of us has to pay ?

  • @AbiscuitsAUS
    @AbiscuitsAUS 4 роки тому

    Great tutorial, thankyou. If you want a challenge you should try a UnrealGameSync tutorial

  • @Mr_Tea_Rexx
    @Mr_Tea_Rexx 2 роки тому

    is their a update to this or is it the same for a windows setup?

  • @thegreenmind464
    @thegreenmind464 Рік тому

    im getting an error that says "syntax on line 5 of configuration file /etc/perforce/p4dctl.conf.d/perforce service.conf." im stuck on the last step of setting up the server, any help would be appreciated

    • @RobertCooper1999
      @RobertCooper1999 4 місяці тому

      I get the same error... I know this was a year ago but did you find out how to fix?

  • @R-SXX
    @R-SXX 3 роки тому

    what would you do, if the p4admin keeps asking for the password, although its the right one? I dont really get an error, ot only cosntantly pops up and wants the password

  • @tristangybels8040
    @tristangybels8040 Рік тому

    I didn't receive any email. How can I access the PW?

  • @foxim8010
    @foxim8010 4 роки тому

    Thank you great video, but I have question could you record a tutorial on how to make inventory in a game similar to, for example, Resident evil 7?

  • @DRAWKCABLLA
    @DRAWKCABLLA 2 роки тому +2

    I WANT A TUTORIAL FOR LOCAL HOST

  • @zachaugustine3866
    @zachaugustine3866 4 роки тому

    Excellent video! My brother and I keep running into an issue that is says "Couldn't set association for project. Check the file is writeable." every time he tries to open the project files I've uploaded that he's retrieved from the server.

  • @MrRetroDev
    @MrRetroDev 2 роки тому +2

    I hate Perforce with a passion, and it seems a lot of other devs do too. Perforce is not friendly to use at all. Nice to see that, in 2022, Epic are working on their own version control software.

    • @fr1sti756
      @fr1sti756 2 роки тому

      are they?

    • @MrRetroDev
      @MrRetroDev 2 роки тому +1

      @@fr1sti756 Yeah. Looks like it. People found some references in the source code that looks like source control. Hopefully something is being worked on behind the scenes.

    • @fr1sti756
      @fr1sti756 2 роки тому +1

      @@MrRetroDev can you send a link?

  • @thomassun382
    @thomassun382 3 роки тому

    This is such a great help! Thank you so very much!!

  • @jasonterry9343
    @jasonterry9343 Рік тому +2

    Cant mark for add...
    no files updated
    1 warning reported
    d:\AG_WS_JAY\...#have - file(s) not on client.

  • @maxmustsleep
    @maxmustsleep 4 роки тому +1

    the setup seems so much harder than git
    is it worth chosing perforce over git?

    • @reubs
      @reubs  4 роки тому +2

      Git is great but has a hard time dealing will large binary assets. LFS helps fix this, but file locking isn't well implemented which means we had merge issues all the time using git. For Unreal I'm going with perforce every time (and clearly epic feel the same way!)

    • @maxmustsleep
      @maxmustsleep 4 роки тому

      @@reubs thanks! sounds great :D we actually ran into an issue with a large video file over git and didnt have the time/knowledge to set up LFS

    • @DRAWKCABLLA
      @DRAWKCABLLA 2 роки тому

      both suck hobo dick. unreal needs to fucking integrate this before i break my foot in all three companies assholes

  • @gucci300k8
    @gucci300k8 4 роки тому

    Finally thnx, pretty confusing p4v p4a etc tho.

  • @RoadHater
    @RoadHater Рік тому

    the p4ignore doesn't seem to work

  • @KyryloSibiriakov
    @KyryloSibiriakov 3 роки тому

    Thank YOU !! Very helpful!

  • @BobDS06
    @BobDS06 4 роки тому +2

    This video was great, but I ran into an issue with this tutorial when I tried to build my game since Perforce makes files read-only to keep track of edits.
    I still have to look into but it seems to be caused by not setting a P4 typemap:
    docs.unrealengine.com/en-US/Engine/Basics/SourceControl/Perforce/index.html
    The tutorial also mentions that it is better to set your server to be case insensitive.

    • @3Dcowboyvideos
      @3Dcowboyvideos 3 роки тому

      Hey! Did you ever find a solution to this?

    • @cadetquintus
      @cadetquintus 2 роки тому

      @@3Dcowboyvideos Did you ever find out?

    • @3Dcowboyvideos
      @3Dcowboyvideos 2 роки тому

      ​@@cadetquintus We never had to use P4 typemap in the end. If I'm not mistaken we just went into the files of our project and manually unchecked Read-Only for all below folders.

    • @cadetquintus
      @cadetquintus 2 роки тому

      @@3Dcowboyvideos I figured out out to set it up and will do as a just in case thing, what about the case sensitivity? Did you figure out how to change that or does it not matter?

  • @Cloroqx
    @Cloroqx 4 роки тому

    Thanks a bunch, mate! I used your referral code. Hope it helps!

    • @reubs
      @reubs  3 роки тому

      Thanks man, this tiny video has earned enough referral credits to keep my personal projects going! Much appreciated

  • @badanos
    @badanos 4 роки тому +1

    Thank you for this!

    • @Baalthazar
      @Baalthazar 3 роки тому

      And now, the student follows in the teacher's steps....

    • @badanos
      @badanos 3 роки тому +1

      @@Baalthazar Good luck!

  • @bravokevin8473
    @bravokevin8473 Рік тому

    You saved my life

  • @TriSutrisnowapu
    @TriSutrisnowapu 2 роки тому

    That helped a lot.. Thank you.

  • @AnimeBadBoi
    @AnimeBadBoi 2 роки тому

    I frorgot my password for the perforceadmin
    anyone know how to reset it please

  • @sloanphone2323
    @sloanphone2323 2 роки тому

    This video is amazing!

  • @Whag09
    @Whag09 3 роки тому

    If I may, you didn't explained how to setup typmaps (the info i'm actually looking for ;) )

  • @maxmustsleep
    @maxmustsleep 4 роки тому +1

    i'm thinking about setting this up locally on my raspberry pi 4, i guess the process should be similar since its also based on linux
    EDIT: apparently Perforce has dropped the support for raspberry pi devices :(

  • @morganwardfilm
    @morganwardfilm 4 роки тому

    thank you so much!

  • @SeekerLabs
    @SeekerLabs 4 роки тому +2

    Jeez. Quite a bit more complex than Github for non-game projects. Setup is at least..

  • @billywap
    @billywap 4 роки тому

    Isn’t there a better way to do this, watched another vid and it solved my problems

  • @Amir-fy5xu
    @Amir-fy5xu 3 роки тому

    You Are My Hero :)

  • @ahldain_michael
    @ahldain_michael 2 роки тому

    MY HERO!

  • @MarkDAllen
    @MarkDAllen 3 роки тому

    Thank you!!!!!

  • @simone9485
    @simone9485 4 роки тому

    great video

  • @naimaware
    @naimaware 3 роки тому

    What source control is and used for?

    • @honestdan322
      @honestdan322 3 роки тому

      It is used to store your work centrally so you always have a backup if you lose your work locally. It also allows multiple team members to all contribute work to the same project and stay in sync. It will allow you to view file history of your code files which can help new team members understand how the code was built and who added different features. It allows you to undo change lists if the code you submitted broke the game. You can also lock files to make sure multiple people aren't editing the same file at the same time. It allows your to resolve and merge code changes when you have worked on a code file and someone else has submitted changes to that same file.

  • @dimaferox5133
    @dimaferox5133 3 роки тому

    Thanks like always great tutorial >3

  • @the5amkebab971
    @the5amkebab971 3 роки тому

    needs more volume

  • @MonsterJuiced
    @MonsterJuiced 2 роки тому +2

    Needlessly complicated... Great tutorial though. Still I think the set up and everything should be far more straight forward than this.

  • @devintrusdell5733
    @devintrusdell5733 3 роки тому

    GOD loves y'all and have a Blessed day ✝️⛪🙏🙏🏻🙏🏼🙏🏾🙏🏽🙏🏿👼🏿👼🏾👼🏽👼🏼👼🏻👼😇🥰❤

  • @thangpham-gf2ly
    @thangpham-gf2ly 3 роки тому

  • @killerwolfZeita1171
    @killerwolfZeita1171 3 роки тому +2

    dude we werent born with fucking phones in are hand man. WE DONT KNOW WHAT THE FUCK A LNIX BOX IS. i need something thats super super streemlined and simple. i dont wanna have to hire a tech expert for this cuz they charge alot of money that i just dont have

  • @Erdroy1
    @Erdroy1 4 роки тому +2

    Just not perforce. Just no. No. ;)

    • @KodakYarr
      @KodakYarr 4 роки тому

      Why not?

    • @DRAWKCABLLA
      @DRAWKCABLLA 2 роки тому

      @@KodakYarr because perforce was made by people who clean hobo dicks with their assholes

    • @KodakYarr
      @KodakYarr 2 роки тому

      @@DRAWKCABLLA
      OK... What should you use then?

  • @alphamineron
    @alphamineron 4 місяці тому

    Jesus just use git, like a normal person

  • @aphexx100
    @aphexx100 2 роки тому +4

    Saved/
    Intermediate/
    DerivedDataCache/
    *.pdb
    obj/
    *.vcxproj
    *.sln
    *-debug.*
    FileOpenOrder/

    • @aphexx100
      @aphexx100 2 роки тому +2

      just in case someone comes by and doesn't like to type ;)
      thank you @reubs for the ignore file bit!

    • @aphexx100
      @aphexx100 2 роки тому +2

      unfortunately perforce still wants to add files from the saved folder, when clicking on "add" when having the whole project selected

  • @david_ouro
    @david_ouro 2 роки тому

    Amazing tutorial, Thank you so much man

  • @horizontaltolerance3088
    @horizontaltolerance3088 Рік тому

    Thanks for this!

  • @brno322
    @brno322 2 роки тому +1

    Saved/
    Intermediate/
    DerivedDataCache/
    *.pdb
    obj/
    *.vcxproj
    *.sln
    *-Debug.*
    FileOpenOrder/