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 Unity_gamer · Aug 10, 2014 at 12:09 PM · integrationexcel

Excel Read write with Unity3d

I'm trying to read and write in to a excel file dynamically in a game. I tried using SmartXL and it worked , But its a payed one so I'm looking for some library that is free to use.If somebody had tried this and found some thing please guide me through. Appreciate your time.. Thanks!

Comment
Add comment · Show 6
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 tanoshimi · Aug 10, 2014 at 12:19 PM 0
Share

You shouldn't need a library at all - you can just do it from C# using interop in a plugin: http://www.c-sharpcorner.com/uploadfile/ggaganesh/createexcelsheet12012005015333am/createexcelsheet.aspx

avatar image Unity_gamer · Aug 10, 2014 at 01:42 PM 0
Share

Thanks for the response tanoshimi, But it seems like there are few other things that we have to keep to make it working this way(some kind of tool). I looking forward to something similar to SmartXL. I'm not so used with .net development so this looks bit hard.

avatar image saporter · Jun 14, 2015 at 04:25 PM 0
Share

Unity_gamer, could you post a link to SmartXL? I'm having a tough time finding this tool...

avatar image joexi123 · Mar 11, 2016 at 02:54 PM 1
Share

wish this will help https://github.com/joexi/Excel4Unity it provides both read & write with .xls and .xlsx

avatar image EJSainz joexi123 · Aug 04, 2016 at 12:16 PM 0
Share

Hey! I've downloaded Excel4Unity and looks promising :-) .

I need a solution to keep up with the localization.

I'm giving it a try and will tell you.

avatar image EJSainz EJSainz · Aug 04, 2016 at 12:21 PM 0
Share

Looks like it will only work in Windows. So bad, I needed it for an Android Game.

Thanks anyway!

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Schneider21 · Aug 10, 2014 at 02:11 PM

Unfortunately, Unity_Gamer, that's kinda how it works in the development world. You can either use someone's tool that makes doing something difficult easy (which they, understandably, would like to be paid for), or you can learn how to do all the nitty-gritty details yourself for free.

Excel files are basically XML documents. Try creating an .XLS doc that looks like what you want using either Microsoft Excel or a free alternative like OpenOffice. Then save and open that file in a plain text editor like Notepad++. Take a look at the structure of the document, and then use Unity's XML Serializer to recreate that with your game's data.

After giving it a shot, you may discover it's far above your head. Maybe it's worth the price of the paid plugin at that point, or maybe you could find an alternative way of storing your game data. It's all about trying things and seeking to overcome them or find an acceptable alternative!

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 Koaliii · Jun 12, 2017 at 01:48 PM 0
Share

I tried this part "try creating an .XLS doc that looks like what you want using either $$anonymous$$icrosoft Excel or a free alternative like OpenOffice. Then save and open that file in a plain text editor like Notepad++. " of what you said and I got this alt text Im not sure how to read that at all, especially with all of the special symbols. Am I doing something wrong?

capture.png (248.5 kB)
avatar image
1

Answer by MyUnitydream · Dec 17, 2015 at 10:45 AM

with this package you can create, Edit And Read Excel Files In Unity 3d https://www.assetstore.unity3d.com/en/#!/content/47540

By thanks

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

28 People are following this question.

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

Related Questions

How can I get data from an outside database (specifically excel). 2 Answers

Can I use the Excel Object Library in a C# script in Unity? 1 Answer

How to implement d3d9.dll override to run my 3D Display? 0 Answers

How to acquire an associative array from the client? 0 Answers

How to use new UI with the Rift integration in Unity? 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