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
2
Question by col000r · Nov 19, 2009 at 10:52 AM · database

SQLite and Unity

Is anyone using SQLite and able to confirm that it works in builds on all platforms?

Users were reporting problems with integration using C# and problems in builds on Vista in this thread - Was that fixed in 2.6?

Are there any good alternatives to SQLite? (No, I don't want to use PlayerPrefs for this :])

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 Jens T · Jul 13, 2010 at 08:18 AM 0
Share

I have had a lot of problems trying to get SQLlite to work. There is a lot of posts on the forum relating to the inclusion of dll files in various folders, different versions of SQLite. I am using PHP and mysql, plus teh www object. This protects my code but requires internet to work.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Brian-Kehrer · Nov 21, 2009 at 04:54 PM

Are you strictly interested in databases, or simply better data storage? We have not tried integrating with SQLite, but simply store data on a webserver. That obviously is not an option if you need to store data locally.

If you aren't interested in a database, but just data storage, you could always write data files to disk using C# FileIO libraries. With plugins, this can be extended to work on the iPhone, as well as natively on Mac / Win using system save dialogue screens I think - with a non-trivial amount of effort.

However, just writing and reading some basic files to disk from a standalone is pretty simple.

Maybe someone else has more specific knowledge of SQLite?

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 badbod99 · May 12, 2010 at 04:22 PM

Try this link: http://www.sapethemape.com/2008/06/unity3d-sqlite-visualization/

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 bioduds · Apr 23, 2012 at 01:17 AM

I assume you're using Unity iOS basic, or not? If you are, there is no way to reply to what you're asking [If someone knows really good online example (for iPhone/Android) that can do the above] because there is no way to do it without having you and your coder going nuts. If you're interested in a commercial solution, look for MonoSQLite, it makes it plain and simple. bye!

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

SQL connection problem 0 Answers

Image Gallery 2 Answers

Mysql PHP connection for a user balance and XP 0 Answers

How can i create [n] prefabs taking Array data? 1 Answer

A by Script growing Database with two types 0 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