So me and a friend wanna create a game together using Unreal Engine 4. However, we cannot fond a good way for us to work on the same project as the same time. We have tried many ways, such as github, visualsvn and other source trees programs. We also tried the built-in MultiUser-Browser, but since we do not share the same internet, we haven’t gotten it to work.
I recommend using SVN or Perforce. Both are greatly integrated with the unreal engine.
The only thing to remember is to set up files such as uasset and umap for exclusive checkout. So that two people cannot modify the same binary file at the same time.
We tried using source trees such as github, but when we both worked on something and then commited it, we got issues and had to merge our work, and so the source tree only commited what one of us did, the other ones work was scrapped
We tried SVN and managed to connect to the same repository, however as Unreal doesn’t support SVN we didn’t find a way to connect out project to SVN. We also have no clue as to how the program works. I’m sorry if it’s really simple, we’re just very new to this and really have no idea what we are supposed to do.
Yeah you shouldn’t work on the same file at the same time. If you want to work on the same file you should use something like a screen-share program and have only one person commit.
SVN is supported by the Unreal Editor. You connect to source control using the “Subversion” option. Then you will have to “check out” the files you are modifying. This ensures nobody modifies the files while you are modifying them. Once you commit the files anyone can get the new ones and check the files out for modification again.
But we didn’t work on the same file at the same time. We both worked on the same project, but on different objects in the project. Still, UE only saved the progress for one object
I’ll try that, but is there a way to connect to the same VisualSVN without using a VPN? When i sent him the repository link, it didn’t find the site, but when we connected to a Hamachi it worked. It would be great if there were a way to connect without using vpn
Well, someone will need to host, that person/server has an IP address. Connect to that. If you have access to a web-server, I recommend using that. Note: IP addresses change unless your ISP gives you the option to have a permanent IP address.
for MultiUser-Browser you can simply connect you both via a vpn (eg openVpn) or windows has builtin one too. the other way is to find the ports MultiUser-Browser uses, and forward that on your internet router to your machine (on one side is enough), or use something like https://ngrok.com/.
for working with SCM, a few rules to save you some headache. Start using sublevels! Only one person works at one designated sublevel. The master Level is only to connect them all in. The same with BP! Split your functionallity into blueprint components and connect that to a blueprint. everybody only works in his component, not in the “shared” blueprint. Commit and push often - pull and rebase often. UE and BP is not really good with SCM because of it’s binary format. But if you try to follow the rules it works quite good.
Other way is, put your project on a shared folder like on a dropBox, oneDrive, googleDrive, … where any changes is synced to the internet and the other member automatically gets it.