Don’t risk losing your unity project, do this now! | Unity source control Tutorial

Don’t risk losing your unity project, do this now! | Unity source control Tutorial

DrowsyFoxDev

2 года назад

2,969 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Rallix
Rallix - 19.07.2021 22:59

Cool tutorial!

The next step should be Git LFS, otherwise people will run out of storage space on GitHub/GitLab/Bitbucket quite quickly once their game becomes somewhat complex (especially 3D, with a lot of big texture and model files).

However, to avoid being burned like me, it's important to modify the line ending rules for “TerrainData” assets, because even though everything might be text-based (with asset serialization set to “Force Text”), some assets will always be binary (TerrainData, LightingData, Navmesh). And pushing such files to git will automatically unify the line endings, thus corrupting all the binary files – and you will only find out about this later when you need to pull the assets from remote.

So after I tried to revert to a previous version of my game, it irreparably wiped all my terrains clean, because only the working version was fine, but all of “git” history of the terrain data files has been corrupted.

It's probably not a piece of advice for git beginners this tutorial is aimed at, but it's better to be aware of this too early rather than too late…

Ответить
Jorden Shukla
Jorden Shukla - 16.01.2023 11:39

Thanks so much! you saved my project!

Ответить
DemoA0
DemoA0 - 26.08.2022 23:00

How do i know what license i use

Ответить
Cirby Weh
Cirby Weh - 19.01.2022 14:19

I am always a bit lost when it comes to the privacy bit. Who can see and change the project now? I assume when set to private, no one can see my files or change them. When not ticked the private box, only I can edit files, but others can download the project?

Ответить
Angel Dimitkovski
Angel Dimitkovski - 03.12.2021 17:47

Very simple and straight to the point! Good job!

Ответить
Rungrot Phalaket
Rungrot Phalaket - 20.11.2021 08:21

Thank you.

Ответить
LENARVALO Lampape
LENARVALO Lampape - 27.10.2021 21:20

good video, i'm waiting for the GIT LFS!

Ответить
Ahmad Hani Alhazmi
Ahmad Hani Alhazmi - 08.10.2021 13:01

Waiting for the git commands video!

Ответить