3 ms·
I'm curious what issues it still has with version-control? I know that for a while the default asset format was binary instead of text, but I believe they made
by brundolf 6y ago
I'm curious what issues it still has with version-control? I know that for a while the default asset format was binary instead of text, but I believe they made text the default a little while ago (I've used Unity in a hobby capacity over the years but never professionally)
- andybak 6y agoYeah. They managed to come up with an interesting innovation. Non-human readable YAML...
- franknine 6y agoYou also need to make sure .meta files are set to visible and get committed along with the assets, or the asset references will be completely messed up. Unity also makes visible .meta default now, and some would create a git hook to do a pre-commit check.
- MrLeap 6y agoScene files are the biggest thing. They're merge conflict magnets. You breath aggressively and they'll "change". Our workflow tends to be based around prefabs, and a main scene we _rarely_ change. Despite never touching it, everyone on the team has to revert Main.scene before committing, pretty much every time. VFX Graphs are also pretty nuts. Cut one line and it changes 3000 lines of code. This isn't the biggest deal in the world, but it makes for weird diffs. There was a memory leak bug with the videoplayer component, and the only fix I found was to update to a newer-than-LTS version. That version likes to strip public rendertexture fields from the inspector every time you pull a scene down from git. Hopefully they fix that before they call it an LTS :)
- moron4hire 6y agoI've found additive scenes a little nicer for avoiding scene merge conflicts. Additive scenes come with a lot of baggage of their own, but it's worth it to learn to get that initial start up time down way more.