Skip to main content
3 votes
Accepted

Why does Unity reload when I switch between branches in SourceTree?

When you switch branches, you are switching the contents of your Unity project. The reason you can't access the prefab from the second branch, is because it doesn't exist on that branch. When you ...
Evorlor's user avatar
  • 5,840
3 votes
Accepted

In Unity editor, how to import package from github?

You haven't used the correct URL. As described in the repository's README, the correct URL is https://github.com/yasirkula/UnityNativeFilePicker.git The documentation shows that the URL should be to ...
Kevin's user avatar
  • 6,854
3 votes

Keep export_presets.cfg in source control without exposing secrets

The way I currently handle this is as follows: The developer responsible for release keeps a local branch with the changes that add the secret details to ...
Theraot's user avatar
  • 27.5k
3 votes
Accepted

Trunk Based Development: Prevent unreleased assets and features from being included in the build

It appears that what you need are more branches. At least one for development and one for each released version. The release branch for each version would diverge from the main branch whenever you ...
Philipp's user avatar
  • 122k
2 votes
Accepted

where is D3D11.h/lib for direcxt11.3

Where is the DirectX SDK? Starting with Windows 8, the DirectX SDK is included as part of the Windows SDK. So download the latest Windows SDK from Microsoft and you'll get updated DirectX headers ...
Maximus Minimus's user avatar
2 votes

How can I visually see changes made to a scene since the last git commit

This git-for-unity tool might be something you could use. Not a directed graph but more visual than just a git text log https://flashg.github.io/GitMerge-for-Unity/
DaveA's user avatar
  • 21
1 vote
Accepted

Should I downgrade my Unity project to the latest LTS version?

The LTS branches are mostly intended for people who started a long-term project on an older version of Unity and are now afraid of upgrading to a more recent version because it might break too many ...
Philipp's user avatar
  • 122k
1 vote

How to prevent Unity from generating unnecessary changes after saving a scene with no actual changes

EDIT: This bug seems to have been fixed in newer versions of Unity (e.g. 2020 LTS and 2021 LTS). As far as I know, this is caused by a bug or design flaw in the Unity Editor. When you add UI prefabs ...
Kevin's user avatar
  • 6,854
1 vote

How to version control game balance data stored in spreadsheets

You can store in (any) VCS text-only version of your spreadsheets (CSV, f.e.), but work only with original (binary XLSX) presentation of data (edit/update|export|commit) You can use non-default tools, ...
Lazy Badger's user avatar
1 vote

How to get an Unreal Engine 4 Level to sync using Git Source Control?

I has a similar issue. To duplicate the problem: Create a clean git clone of my Unreal (v4.23) project onto a Windows 2010 machine. Browse to the ...
Lou's user avatar
  • 11
1 vote

How to get an Unreal Engine 4 Level to sync using Git Source Control?

Remember to stage the changes of the map inside your commit Even if Sourcetree is marking your files as modified (checked-in) you still have to add your file inside your commit (aka stage the ...
pasotee's user avatar
  • 111
1 vote

How can I visually see changes made to a scene since the last git commit

I'd like to see the changes made in a scene (.unity file) before I commit them to git. Any decent git tool will do this provided the scene file is not binary; but, as you mentioned, the GUID ...
KareemElashmawy's user avatar
1 vote
Accepted

Version Control for Save Data

Instead of sending the whole map on every load and save, divide your game map into rectangular blocks of tiles (chunks) and implement a network protocol to save/load individual chunks. When a client ...
Philipp's user avatar
  • 122k
1 vote

Which Unreal Engine 4 project files can I ignore in source control?

This is what I have in my .gitignore ...
Shital Shah's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible