Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by AndriiStep · May 19, 2015 at 10:01 AM · databasefatal error

FATAL ERROR: trying to write to readonly database

I have a project made in Unity 4.6. I am upgrading it to Unity 5. Everything seemed to be fine at first. But when I delete folders or files that I don't need in the project I get the FATAL ERROR message and I can only press the "QUIT" button.

Once that happened every time I try to reopen the project I get the very same error on opening. It's frustrating. To get rid of it I have to reopen the project in Unity 4.6 (I got 2 versions of Unity running on my computer), downgrade it, and then reopen it in Unity 5 and upgrade it. After that everything seems "fine" again. But once I try and delete a directory\file (Or even change its location) I go through the same vicious cycle.

That's what the Editor.log file look like after the error:

-----CompilerOutput:-stderr---------- -----EndCompilerOutput--------------- - Finished compile Library/ScriptAssemblies/Assembly-UnityScript.dll Assets/Tools/ShowFps.js(34,34): BCE0144: 'UnityEngine.GameObject.guiText' is obsolete. Property guiText has been deprecated. Use GetComponent() instead. (UnityUpgradable)

(Filename: Assets/Tools/ShowFps.js Line: 34) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.017538 seconds Refresh: trashing asset fa5fac99c2b052b4e89678c65cae204e attempt to write a readonly database

(Filename: C:/buildslave/unity/build/External/sqlite/SQLite.cpp Line: 345)

Help me solve this heartbreaking problem please. Thanks in advance.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image applemaniac · May 19, 2015 at 10:12 AM 0
Share

You could try to build a new project on Unity 5 and copy the assets you need in it, folder by foler maybe?

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by LoungeKatt · Apr 27, 2017 at 07:21 AM

The solution depends on what caused the issue (adding to version control, moving the project, etc), but the common solution is to perform the following steps, where applicable:

  • Move the project back to an internal hard drive, as external drives cause this issue

  • Recursively set the project directory as Read-Only, then set it back to Read-Write

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by sdpagent · Sep 16, 2019 at 03:39 PM

I had this issue on an external drive, but reformatting it within Disk Utility on the Mac to use "Mac OS Extended (Journaled)" filesystem (not case-sensitive), it worked. It was originally set to using NTFS, which didn't work.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by azinicus · Jun 14, 2018 at 02:48 AM

What worked for me is a variation of @LoungeKatt 's answer, the permissions thing didn't work (macOS), but moving the project files to my main partition worked.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Fatal Error - when trying to open project 0 Answers

mono develop fetal error gtk 1 Answer

save load exp on database 2 Answers

How can i access a database in the web from unity iphone? 1 Answer

Who can tell me how to connect to an Oracle Database?very grateful! 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges