question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is committing the Library folder required for this action to work?

See original GitHub issue

Hi friends, sorry for the potentially naive question.

I think I was able to glean this from what your docs suggest, but I wanted to confirm, this action is not able to build without me first committing my projectRoot/Library folder correct?

The reason I ask is that my team had been using the .gitignore file found here: https://github.com/github/gitignore/blob/master/Unity.gitignore which explicitly ignores the Library folder.

We’re new to unity so there perhaps there is a best practice we’re missing, but it seems like we would have to choose between committing the heavy Library folder so we can have a build pipeline, or keeping the repo light and building ourselves.

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
nickmarottacommented, Aug 15, 2020

Hey sorry to comment on something that is closed, but I wanted to update that I did try version 2019.4.8f1 and still received an empty build. I checked out some other issues that were raised and it seems like I’m not the only one experiencing this, per https://github.com/webbertakken/unity-builder/issues/136. I’ll try some of the steps listed in that issue.

Also great to hear about issue #135! Thank you for your time and hard work!

0reactions
webbertakkencommented, Aug 16, 2020

@nickmarotta thanks for your feedback.

As it’s no longer about the question whether or not you should be committing the Library folder, I recommend you add your comments in the two issues that you mentioned, so that others also get confirmation about their findings, perhaps together we can find a solution for them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Should I push the Unity Library folder to Github - Stack Overflow
The problem is that these files are located in the Library folder of Unity and I have read that a couple of people...
Read more >
Is the Library Folder required in the repository? - Unity Support
No, the Library Folder is not required in the repository and it should not be checked in. You do not need to include...
Read more >
Mac Library Folder - How to Find Library | Nektony
Apple keeps the Mac Library folder hidden from users. In this article, we explain how to show and find the Library folder on...
Read more >
How to Reveal the Library Folder in macOS - MacRumors
1. Open a Finder window. 2. Select Go -> Go to Folder... in the menu bar. 3. Type ~/Library in the input field...
Read more >
Cannot build library which depends on publishable lib in sub ...
Current Behavior. The issue I have is similar to #602 which is already fixed and working. However, if I have my libs in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found