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
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.
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.
@@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!
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.
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
does anyone know of a updated video as this one does not work anymore
If you make a video on UGS you are going to be my hero!
Great Video Man! This is by far the easiest setup I've seen for Perforce hands down.
lifesaver! this shit is so annoyingly complicated for what ends up being pretty simple once you know the right buttons. Thanks!
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.
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
Thanks
That was awesome, did 1:1 the tutorial, worked perfectly fine. Thanks so much for the efforts!
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!
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?
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..
@@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
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
i can't log in to the p4d client: superadmin - no such user.
I get the error "file(s) not in client view" when trying this tutorial.
Seems as though DigitalOcean has changed the whole UI?! HELP
with the new UI you need to go to the Administration panel and the users/group panel will pop up
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
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
why do we have to copy the project, what about the original project folder do i still use that how is it linked?
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 ???
Thank you !, you saved my life !, I was going crazy to make it work ...
Lol
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
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
you're a legend! thanks for explaining so simply
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.
What happened? this happened to me too
@@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.
@@heavenseek they actually responded to me and i got it functioning
@@lexingtondath6168 Good to hear that! :)
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?
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
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 ?
Great tutorial, thankyou. If you want a challenge you should try a UnrealGameSync tutorial
is their a update to this or is it the same for a windows setup?
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
I get the same error... I know this was a year ago but did you find out how to fix?
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
I didn't receive any email. How can I access the PW?
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?
I WANT A TUTORIAL FOR LOCAL HOST
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.
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.
are they?
@@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.
@@MrRetroDev can you send a link?
This is such a great help! Thank you so very much!!
Cant mark for add...
no files updated
1 warning reported
d:\AG_WS_JAY\...#have - file(s) not on client.
the setup seems so much harder than git
is it worth chosing perforce over git?
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!)
@@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
both suck hobo dick. unreal needs to fucking integrate this before i break my foot in all three companies assholes
Finally thnx, pretty confusing p4v p4a etc tho.
the p4ignore doesn't seem to work
Thank YOU !! Very helpful!
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.
Hey! Did you ever find a solution to this?
@@3Dcowboyvideos Did you ever find out?
@@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.
@@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?
Thanks a bunch, mate! I used your referral code. Hope it helps!
Thanks man, this tiny video has earned enough referral credits to keep my personal projects going! Much appreciated
Thank you for this!
And now, the student follows in the teacher's steps....
@@Baalthazar Good luck!
You saved my life
That helped a lot.. Thank you.
I frorgot my password for the perforceadmin
anyone know how to reset it please
This video is amazing!
If I may, you didn't explained how to setup typmaps (the info i'm actually looking for ;) )
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 :(
thank you so much!
Jeez. Quite a bit more complex than Github for non-game projects. Setup is at least..
Isn’t there a better way to do this, watched another vid and it solved my problems
You Are My Hero :)
MY HERO!
Thank you!!!!!
great video
What source control is and used for?
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.
Thanks like always great tutorial >3
needs more volume
Needlessly complicated... Great tutorial though. Still I think the set up and everything should be far more straight forward than this.
GOD loves y'all and have a Blessed day ✝️⛪🙏🙏🏻🙏🏼🙏🏾🙏🏽🙏🏿👼🏿👼🏾👼🏽👼🏼👼🏻👼😇🥰❤
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
Just not perforce. Just no. No. ;)
Why not?
@@KodakYarr because perforce was made by people who clean hobo dicks with their assholes
@@DRAWKCABLLA
OK... What should you use then?
Jesus just use git, like a normal person
Saved/
Intermediate/
DerivedDataCache/
*.pdb
obj/
*.vcxproj
*.sln
*-debug.*
FileOpenOrder/
just in case someone comes by and doesn't like to type ;)
thank you @reubs for the ignore file bit!
unfortunately perforce still wants to add files from the saved folder, when clicking on "add" when having the whole project selected
Amazing tutorial, Thank you so much man
Thanks for this!
Saved/
Intermediate/
DerivedDataCache/
*.pdb
obj/
*.vcxproj
*.sln
*-Debug.*
FileOpenOrder/