Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 eem · Aug 18, 2011 at 11:19 PM · databasesqlexcel

Local database on iOS

I've searched and have found alot of stuff about dealing with and connecting to databases on windows and OSX. But the only solutions for databasing that I have found for iOS are to use the www class to interface with a PHP script on a server to fetch from the database. Which sounds good, but I want to interface with a locally stored database in the apps documents folder. I want a list of information that I can manage from an external application. This database ideally would be SQL, or even just a spreadsheet would be suitable. Does anyone know any solution to this? Can I get Unity to connect to a database stored on the iOS device itself?

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 SilverTabby · Aug 19, 2011 at 03:42 AM 0
Share

I'm not sure if this is what you are looking for, but here is a full thread that discusses how to read/write files to/from the iOS documents folder.

The hard part after that is working with the data to and from those files (I have almost 0 exp with SQL :( )

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by cristoph1 · Oct 19, 2011 at 08:43 PM

A really dedicated solution as local data storage for your games is Siaqodb see more info here: http://siaqodb.com/?p=482 •easy to use, very simple API

•works on all platforms: PC, Mac, iOS, Android

•works for all Unity3D editions(not needed Pro edition)

•no SQL knowledge needed

•100% managed code

•small footprint

Just put a siaqodb.dll in your scripts folder and GO!, no extra configuration, no nightmares with unmanaged references

Comment
Add comment · Show 1 · 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 Showpath · Apr 26, 2012 at 03:30 PM 0
Share

This solution works fine in the editor but it's not working for me on iOS: UnauthorizedAccessException.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

php, sql security 3 Answers

Using Unity to connect to a Database 3 Answers

Linq Query - Strange Outcome 1 Answer

Storing unit data for an RPG 5 Answers

Read XLS file with UTF-8 character; 1 Answer


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