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 ...
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 ...
3
votes
How to setup a public github unity repo with paid assets?
i already answered this question here:
How can I open source my Unity project when I use third party assets?
you cant publish your project except you exclude those paid assets out of your project.
2
votes
Accepted
Is it ok to commit to git while my Unity project is still open?
git does not work with your memory ram. git works with what is in hard-disk. it means git commits everything you saved. so it means you can commit when unity is open. just save every thing before you ...
2
votes
Accepted
Which files of addressable assets should be committed to Git?
It broke when I removed any of these:
/AddressableAssetsData/AssetGroups
/AddressableAssetsData/DataBuilders
Nothing broke (no obvious errors) when I removed
<...
2
votes
How to remove hardcoded path in UserSettings?
Yes it should be ignored because, as you noticed, it's specific to each Unity user.
You can find details behind the reasoning here: https://forum.unity.com/threads/whats-the-usersettings-directory....
1
vote
Using github pages as development blog
Yes, you can host a dev blog - this is covered directly in the GitHub Pages documentation:
With GitHub Pages, you can host project blogs, documentation, resumes, portfolios, or any other static ...
1
vote
Accepted
How do you exclude (gitignore) assets from Unity's package manager without messing up the references in your project?
For packages (not assets), you should include your project's Library folder in the .gitignore. Unity has a manifest.json file in the packages folder (that should be in your repo) that will tell it ...
1
vote
Accepted
Can I run a script and generate warning when Unity project is saved?
Yes, it can be done:
https://docs.unity3d.com/ScriptReference/AssetModificationProcessor.html
https://docs.unity3d.com/ScriptReference/AssetModificationProcessor.OnWillSaveAssets.html
Example of ...
Almo♦
- 6,708
1
vote
Accepted
In Unity unable to find second github branch
Open your project root folder in a command line and try this :
git branch -r
To view all available branches on remote.
...
1
vote
Unity assets turned binary from text
https://stackoverflow.com/questions/47836334/convert-unity-settings-from-binary-to-text
This post has the answer. Apparently, I have some bugs with the unity editor that I've encountered, which show ...
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 ...
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 ...
1
vote
Accepted
Unity generates changes in GitHub on saving scene
Short answer:
Those changes seem to be of .meta file contents, and/or scene stuff [Update: As pointed out in the comments, they seem to be prefab data. But the ...
1
vote
Accepted
Prefabs were modified even it doesn't updated when commit
We used to get this a lot with materials.
We tracked it down to one of our dynamic instantiation scripts, which took a shared base material, set the colour/texture/parameters to instance-specific ...
1
vote
Which Unreal Engine 4 project files can I ignore in source control?
This is what I have in my .gitignore
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
git × 39unity × 26
version-control × 15
assets × 6
unreal-4 × 5
c# × 4
unreal × 4
visual-studio × 2
c++ × 1
game-design × 1
architecture × 1
monogame × 1
ios × 1
sdl2 × 1
debugging × 1
licensing × 1
file-format × 1
file × 1
open-source × 1
project-management × 1
filesystem × 1
installer × 1
flex × 1
source-code × 1
unreal-5 × 1