No video

How to Use GitHub to Collaborate in Unity

  Рет қаралды 92,561

Failed Physicist

Failed Physicist

Күн бұрын

#unity #github #collaborate #gamedevelopment
Here's a quick tutorial on how to use GitHub to collaborate on game development projects in Unity. GitHub is a great tool to help with collaboration but I noticed that a lot of people who use Unity don't take full advantage of it.
Thanks for watching and I hope it was helpful :)
Download Unity: unity3d.com/ge...
Download GitHub's Desktop App: desktop.github...
Create GitHub Account: github.com

Пікірлер: 139
@failed_physicist
@failed_physicist 2 жыл бұрын
Few things: 1. If anyone has any questions feel free to to leave them as a comment, and I will answer them to the best of my abilities. 2. Also I feel like after towards the end, the tutorial got a bit hard to follow. What do you guys think? 3. Apologies for the audio quality not being great lol
@user-uw5qj1rp1y
@user-uw5qj1rp1y 2 жыл бұрын
شكرا
@eyelight1191
@eyelight1191 2 жыл бұрын
Don’t worry, all is clear, the voice too
@madhavipurohit
@madhavipurohit Жыл бұрын
It's showing that the files are larger than 100 mb. What can I do?
@udayadityaborthakur2977
@udayadityaborthakur2977 8 ай бұрын
what if i import a asset over 100mb?
@majin1395
@majin1395 6 ай бұрын
for that you use git lfs
@lfjvs
@lfjvs Жыл бұрын
Have a project to do in Unity and needed a way to colaborate and found this gem. Thanks so much. Really helped a lot
@tag5t151
@tag5t151 11 ай бұрын
Yeah it's always the small channels that have the best tutorials
@keypo790
@keypo790 Жыл бұрын
3:10 Yes, it does show in windows 10, upper menu-view tab, hidden (tick the box).👍
@beccaboi6873
@beccaboi6873 Жыл бұрын
Thank you so much!! Me and my friend have been trying to figure out how to do this for a little while, but you explained everything so clearly, we finally got it set up. Thank you!! :]
@alexanderstewart9923
@alexanderstewart9923 6 ай бұрын
Go to 4:52 if you're the collaborator!
@Theorchero
@Theorchero Жыл бұрын
Thank fucking god dude. Following tutorials from 2017 is going to be the death of me XD
@matiasmiguez7041
@matiasmiguez7041 Жыл бұрын
Great tutorial !!! All the other videos just show how to create a repository but they leave out the fact that you will probably be working with someone else so they forget to show how a pull request is done and this video explains it perfectly. good job! maybe an updated tutorial would be better. English is my second language so I apologize for the mistakes I probably made.
@lightzy7305
@lightzy7305 Күн бұрын
Im your 200th subscriber!
2 ай бұрын
This video is such nicely explained. I love the soft music in the background as well. Thank you for this! ❤
@andyraymond3866
@andyraymond3866 2 ай бұрын
After hours and hours this video finally shows hot to do it thank you so much
@myhelshik5844
@myhelshik5844 Жыл бұрын
Thanks Failed Physicist, you are the best. Always going back to this video to redo the tutorial because I always forget.
@Shad0wL3g3nd
@Shad0wL3g3nd 24 күн бұрын
To view on Windows, click view and then click the checkbox next to hidden items.
@betulsagun8421
@betulsagun8421 Ай бұрын
Thanks! It helps a lot!
@Mattawaka
@Mattawaka Жыл бұрын
Hey I have a question but not sure exactly how to phrase to apologies if I waffle a little bit. When creating a pull request to merge two branches, if you're merging a secondary branch into the main branch, does that secondary branch have to contain everything that's in the main branch too, i.e. will it be overwritten? For example, the main branch contains a scene which were are going to use as an in-game level/map. On the secondary branch, I'm experimenting with a 2nd level/map to play on, but in a separate scene in Unity. Does the secondary branch have to include the scene from the main and the new one I'm working on, or could I just have a unity project with 1 scene and then merge the branches together and it will pull both scenes from each branch, into 1? Or would it overwrite what's on the main? Thanks!
@failed_physicist
@failed_physicist Жыл бұрын
That's a really good question! Generally, merging a secondary branch to the main branch should work even if the secondary branch does not have all the same content as the main branch. However, in some cases, there may be conflicts between the branches. Conflicts occur if the main branch and the secondary branch include contradictions of each other. For instance, there may be a conflict if a file called example.cs in the main branch has completely different code from another file called example.cs that's in the secondary branch. In such a case, GitHub will let you manually solve the conflicts by choosing which changes override which. So in the example you gave, the merge should work because the stuff in your secondary branch is in a different scene so it cannot conflict with anything that's in the main branch.
@Mattawaka
@Mattawaka Жыл бұрын
@@failed_physicist That's perfect thank you! And thanks for the quick response!
@reebok122479
@reebok122479 Ай бұрын
thank a lot !!!! you fix my problem
@artyalex
@artyalex 2 жыл бұрын
You're the real mvp. Thanks for this!!!
@AllieOk
@AllieOk Жыл бұрын
Incredibly useful video, thank you so much!
@sotirismpalatsias2630
@sotirismpalatsias2630 Жыл бұрын
Thanks man, it really helps a lot !!
@Shonia
@Shonia Жыл бұрын
Great video! Can you tell me how to return to older commits? In unity collab it is pretty easy to go back in the past.
@voidzmhm
@voidzmhm Жыл бұрын
can you commit it at the same time do they merge togheter or does it get replaced by one of the projects
@Furukn
@Furukn 10 ай бұрын
dude you are a life saver. Thank you!
@jonardavenido2419
@jonardavenido2419 10 ай бұрын
Why there is an error to me that files are too large
@mirkomartini8663
@mirkomartini8663 10 ай бұрын
This is Gold !!! Thank you so much !!!
@gamerzbuddies6226
@gamerzbuddies6226 5 ай бұрын
Amazing dudeeee
@muhammadjahanzaib6918
@muhammadjahanzaib6918 10 ай бұрын
Man !!! you're going straight to Heaven 😍😍😅 Great Work 🥰🥰🥰
@shakinfuture2354
@shakinfuture2354 10 ай бұрын
Best tutorial
@user-fc3qo8xh6t
@user-fc3qo8xh6t Жыл бұрын
thank you very much, my friend Lots thanx from Russia
@hassaannitroold6707
@hassaannitroold6707 Жыл бұрын
New SUB! amazing video. Really needed it!
@Jacksolotl
@Jacksolotl Жыл бұрын
HELP! Whenever my friend tries to clone it it says that its invalid or has files in it and he cant clone it
@nataliaabreu2330
@nataliaabreu2330 7 ай бұрын
Great tutorial! Thanks
@shahadsharifabozaid1435
@shahadsharifabozaid1435 3 ай бұрын
so useful :)
@Cozify2528
@Cozify2528 29 күн бұрын
I get the invitation but it doesn't say view or anything I can't open anything
@psycho8842
@psycho8842 10 ай бұрын
❤one of the best video❤😮
@animetdm6369
@animetdm6369 6 ай бұрын
Thanks Bro!! Appreciated
@TDODYT
@TDODYT 5 ай бұрын
So, my question is, I have a Friend that I want to work on the project with me, is this what he is talking about?
@salvatoredamiano291
@salvatoredamiano291 13 күн бұрын
how do I put all the settings options as you do?
@abhinavraj1338
@abhinavraj1338 Жыл бұрын
What's the maximum size of file that can be uploaded in GitHub.... Like I have 1 5 gb project file , i want to work with my friends how can I do??
@tonynguyen4603
@tonynguyen4603 2 ай бұрын
I'm on windows and the gitignore file showed by default
@arturoescobar4226
@arturoescobar4226 Жыл бұрын
Great video man super useful, keep it up.
@salihdagdemir
@salihdagdemir Жыл бұрын
YOU ARE BESTTTTTTTTTTTT!!!!!!!!!!!!
@theconsul8452
@theconsul8452 10 ай бұрын
great video, thanks
@MultiNee100
@MultiNee100 Жыл бұрын
Thank you, it's very great video, you really helped us!
@calmld4664
@calmld4664 Жыл бұрын
Yeah, we did it with your help 🥔
@v.reagan
@v.reagan 8 ай бұрын
To show hidden files in windows explorer on Windows 10 and older, use alt+V then HH.
@zkuppy9885
@zkuppy9885 8 ай бұрын
thanks
@ayynnissa
@ayynnissa 2 жыл бұрын
tysm! this video is so helpfull to me :3
@eyelight1191
@eyelight1191 2 жыл бұрын
Thanks, this really helped me allot
@kdazzlistic4real
@kdazzlistic4real Ай бұрын
how do I do it with a project that I already made
@dviross6096
@dviross6096 Жыл бұрын
thank you so muck, so helpfull :)!!!!!!!!!!!!!!!!!!!!!!!!!
@Abhishek-bl5vr
@Abhishek-bl5vr 2 жыл бұрын
thank you this video help me alot
@vivianoranges
@vivianoranges 11 ай бұрын
Saved my life
@asawrld
@asawrld Жыл бұрын
Thanks man!
@FireApple
@FireApple 2 жыл бұрын
Great vid 👍
@soumyaripan5131
@soumyaripan5131 Жыл бұрын
Thank you bro!
@lseanl12
@lseanl12 8 ай бұрын
nice tutorial
@burakhankoroglu6030
@burakhankoroglu6030 Жыл бұрын
thank you my friend
@nikztips3096
@nikztips3096 5 ай бұрын
what a great video wow
@davidcrittendon5204
@davidcrittendon5204 6 ай бұрын
What does it mean when it says users\myusrename\AppData\Local\plastic4\client.conf not found, is there a way to fix this error.
@hamzafayed2375
@hamzafayed2375 Жыл бұрын
thanks very helpful
@andyraldp173
@andyraldp173 2 жыл бұрын
Lot of thaanks!!
@surxal
@surxal Жыл бұрын
very helpful
@nuin9937
@nuin9937 Жыл бұрын
it says unable to create project when I try to put it in the repository folder
@MohamadNurjaman
@MohamadNurjaman Жыл бұрын
bro, i have a question, how if teams make change on their each computer. and then we want to merge it together ?
@challengedollar2880
@challengedollar2880 5 ай бұрын
Thank you
@getElementById_ProfileName
@getElementById_ProfileName 2 жыл бұрын
Can I do this with an already existing project as well? Because in the video you created a new one for your Local Repository...
@failed_physicist
@failed_physicist 2 жыл бұрын
Yes, you can move the Unity project files into the local repository folder.
@getElementById_ProfileName
@getElementById_ProfileName 2 жыл бұрын
@@failed_physicist Thank you. And its anyway where the local repo is located on my pc?
@failed_physicist
@failed_physicist 2 жыл бұрын
@@getElementById_ProfileName Go to the repository on the Github Desktop app and then in the app's menu bar press on "repository" and from there there will be an option to show where it is located. On Mac, the option is "show in finder" and I think on Windows, it might be something like "show in file explorer."
@risingforce9648
@risingforce9648 Жыл бұрын
how to clone or put an existing project? in the github local? so I can upload the repository? I see your tutorial , but you started from zero.
@Gaming_Era_7
@Gaming_Era_7 Жыл бұрын
Thanks buddy
@samndad8842
@samndad8842 Жыл бұрын
hi so when i pushed the changes out the only file in the git hub web broswer for the depository is the git.ignore and i have no idea what to do
@martyl6424
@martyl6424 6 ай бұрын
When i am working on the project and i dont have saved progress that i did (mean it as i didnt upload the changes yet). When i will want to sync and see what others did. will it delete my progress ? I mean if it works like it will just add the new content/changes or it will overwrite whole project ?
@hassaannitroold6707
@hassaannitroold6707 Жыл бұрын
I have a question. Is it possible to work together live on the same project? anyway? thanks
@failed_physicist
@failed_physicist Жыл бұрын
Unfortunately I don’t think it’s possible with GitHub but there might be some kind of Unity extension that makes it possible so you could search for that.
@hassaannitroold6707
@hassaannitroold6707 Жыл бұрын
Thanks
@ni.fa.2086
@ni.fa.2086 Жыл бұрын
Very well explained thank you very much. If I want to roll back after various changes, I also need Git, don't I?
@bbogapascu9573
@bbogapascu9573 9 ай бұрын
it was not 10 minutes
@bbogapascu9573
@bbogapascu9573 9 ай бұрын
facts bro like wtf?
@bbogapascu9573
@bbogapascu9573 9 ай бұрын
i know right?
@nakivan9613
@nakivan9613 9 ай бұрын
you like kids
@gabrielguime
@gabrielguime 6 ай бұрын
god demais
@mcrafterpro563
@mcrafterpro563 Жыл бұрын
i haven't watched the video yet but is this the only way to collaborate on unity?
@mcrafterpro563
@mcrafterpro563 Жыл бұрын
and there was no gitignore file for me
@mistershikolad2566
@mistershikolad2566 Жыл бұрын
thx bro
@chenzhuo
@chenzhuo Жыл бұрын
thanks
@DrPickleCheese
@DrPickleCheese Жыл бұрын
Does this make it so my friend and I can work on the same project at the same time? Like where I can see what they are doing in the unity scene?
@secretsecret7927
@secretsecret7927 Жыл бұрын
You can work on the same project separately, but you can't see each other working "live". You're both editing your local versions of the project on your separate computers, and not the one online. Pushing the changes will update your local changes to the online version, so the other one can get them from there.
@DrPickleCheese
@DrPickleCheese Жыл бұрын
@@secretsecret7927 I think I understand, thanks for explaining :)
@LovelyAshie
@LovelyAshie Жыл бұрын
question, can it be any unity editor type? for example, 2019.4.31f1
@katuli3677
@katuli3677 Жыл бұрын
yes, but collaborators should have same versions
@nicholasmartin1558
@nicholasmartin1558 Жыл бұрын
I have an issue where despite having LFS running, I can't push a file that is 116mb. Is there something I can do?
@necoh1568
@necoh1568 Жыл бұрын
Same problem here, did you manage to solve it?
@nicholasmartin1558
@nicholasmartin1558 Жыл бұрын
@@necoh1568 I just folded and am using another version control for large files
@miroslavgabco6795
@miroslavgabco6795 Жыл бұрын
So for me it said this .gitingnore file should be placed at the root of your unity directory I'm confused now I thought placing it in is all that's needed up until that point it has a minus on the left sid3 and it's red yheesh why is everything so complex
@failed_physicist
@failed_physicist Жыл бұрын
Sorry for the late response but are you talking about the red minus signs you see in GitHub after putting the .gitignore file in the right place? Those minus signs are supposed to appear. They just mean some files are now being excluded from the repository(as they should be because they’re only temporary files that don’t serve any important purpose).
@miroslavgabco6795
@miroslavgabco6795 Жыл бұрын
@@failed_physicist yh it was thanks though just hard to get use to the process being a first time user and all
@yucesaiki
@yucesaiki 2 жыл бұрын
Do we have to do this every time? So we're going to do the same things every time?
@failed_physicist
@failed_physicist 2 жыл бұрын
What do you mean?
@2-TheMoon
@2-TheMoon 2 жыл бұрын
It does not merge objects in scene on different computers?
@failed_physicist
@failed_physicist 2 жыл бұрын
Can you check again to make sure you’ve done everything right? It merged everything correctly when I tried. Maybe you forgot to fetch the changes on one of the computers.
@2-TheMoon
@2-TheMoon 2 жыл бұрын
@@failed_physicist so i can save scene on my computer and it will reflects on another? or need to restart unity?
@failed_physicist
@failed_physicist 2 жыл бұрын
@@2-TheMoon not gonna reflect the changes on another computer immediately. Do the steps shown in the video and then restart Unity on the other computer and it should work.
@angelbongco9201
@angelbongco9201 2 жыл бұрын
Hello, thanks for your great video! At 3:18 timestamp for reference, tried doing this I have all the folders you have but why do I not have .vscode folder and the .sln file?
@failed_physicist
@failed_physicist 2 жыл бұрын
Hey, I'm pretty sure the .vscode and .sln files are from the VSCode text editor and Visual Studio IDE respectively. As far as I know, not having them won't prevent the collaboration from working.
@angelbongco9201
@angelbongco9201 2 жыл бұрын
@@failed_physicist Does it also mean that if the changes I made has something to do with coding in my unity objects it will still go through the collaboration?
@Alexandre_0292
@Alexandre_0292 2 жыл бұрын
Make an video about how too make an discord bot
@buba1234
@buba1234 2 жыл бұрын
Great video show how to make gta v in unity
@eternalshard
@eternalshard Ай бұрын
don work plis
@lazyllamaa
@lazyllamaa 2 жыл бұрын
Just so you know on 5:21 i can see TheUnknown1050's name on manages access :)
@lazyllamaa
@lazyllamaa 2 жыл бұрын
and on 5:55
@failed_physicist
@failed_physicist 2 жыл бұрын
Thanks for noticing and trying to help out. However, I’m fine with exposing usernames. I just wanted to blur out email addresses.
@lazyllamaa
@lazyllamaa 2 жыл бұрын
@@failed_physicist ok then :)
@yolobet329
@yolobet329 10 ай бұрын
@@failed_physicist if you're still reading comment and/or care abt this, the email is exposed for like a single frame (zsaadm1)
@greenboy157
@greenboy157 10 ай бұрын
5:24
@Alexandre_0292
@Alexandre_0292 2 жыл бұрын
Hi friend can you learn how too make an nukebot?
@failed_physicist
@failed_physicist 2 жыл бұрын
I'm assuming you mean a nukebot for Discord, is that correct? I've kinda lost interest in coding Discord-related programs, but I might still do that at some point. However, note that it is a violation of Discord's terms of service.
@Alexandre_0292
@Alexandre_0292 2 жыл бұрын
Alright
@Alexandre_0292
@Alexandre_0292 2 жыл бұрын
Btw I like ur nation
@Alexandre_0292
@Alexandre_0292 2 жыл бұрын
Ppl think that progaming is hard but i think god can help the person if he want it😉
@9-k.
@9-k. 7 ай бұрын
fake
@V-vek12
@V-vek12 5 ай бұрын
CONFUSING VIDEO
@SomeRandomGuyOutHere
@SomeRandomGuyOutHere 4 ай бұрын
How was any of this confusing????
@bimaa.s9165
@bimaa.s9165 Жыл бұрын
Hello i have this problem, i have a tile map with asset on it. I commit it to main, when my friend trying to fetch it. My friend opened it, The tilemap turn into pink-like block even the tile pallete any solution?
@AgentSkylight
@AgentSkylight Жыл бұрын
missing shader?? try and change the shader in unity on the object and see if the texture surfaces correctly if not then you might have to send the Texture files individually and have them build the material properties
@abdullahbarakat4994
@abdullahbarakat4994 11 ай бұрын
5:22
Using Unity with Git in 15 minutes
15:19
BiteMe Games
Рет қаралды 6 М.
Using GitHub and Unity
23:30
Bardent
Рет қаралды 63 М.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
Making UI That Looks Good In Unity
18:06
Game Dev Guide
Рет қаралды 673 М.
Building the world's LARGEST iPhone
32:05
DIY Perks
Рет қаралды 320 М.
You are sharing your Unity projects wrong!
1:47
Coco Code
Рет қаралды 46 М.
Improve your Platformer’s Jump (and Wall Jump) | Unity
8:12
Dawnosaur
Рет қаралды 113 М.
How to Use GitHub With Unity (Also Works With Existing Projects)
2:59
How to Setup Github with Unity the Right Way
7:00
Garnet
Рет қаралды 10 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
How to use GitHub with Unity
7:27
Brackeys
Рет қаралды 687 М.
Improve Your Platformer with Forces | Examples in Unity
7:01
Dawnosaur
Рет қаралды 173 М.
The 6 Design Patterns game devs need?
24:20
Jason Weimann
Рет қаралды 367 М.