Skip to content

Common Unity Build Errors and How to Fix Them

Build errors happen. I write down the more frustrating ones and the ones that take multiple page visits to piece together here, because no one wants to be wasting their time solving errors when they could be making games!

Opening file Unity/cache/packages/packages.unity.com/com.unity.analytics@2.0.13/UnityEngine.Analytics.dll.meta: Permission denied

I’ve had this happen several times when updating various Unity projects from 5.5 or 5.6 to 2017. Oddly, deleting the cache and various other tricks didn’t work. The solution is just to give yourself read/write access. It is just a cache, so don’t worry about messing up. You can just delete it and it’ll regenerate later.

Full solution:
cd ~/Library/Unity/cache
find . -type d -exec chmod +rw {} \;

Summary

That’s all for now, but I plan on adding more in the future. Good luck with your games! If you want to pay it forward, add your own build errors/solutions in the comments. I’ll add them to the article and we can all save a bit of extra hassle.

Published inDevelopment Tips

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *