- Home /
Does any unity3d file format specifications exist?
Hi, is it possible to find any info about internal structure of unity3d(UnityWeb) files?
Answer by Ben 2 · Apr 26, 2010 at 08:07 PM
Can you not connect to the database using C# or perhaps a scripted web page that you then import into Unity using WWW? Another option is to load the file external to unity using C# file IO.
Answer by qJake · Apr 17, 2010 at 07:25 PM
I believe the file format is compiled as binary data, and includes not only the code to make the game run, but also includes all the assets the game needs, as well. Since it's most likely a proprietary format, I don't think a specification exists.
But as is the case with most file formats or protocols, if you spent enough time with it, I'm sure it could be reverse-engineered. Why do you want to know the specification in the first place? If you told us, we might be able to suggest an alternative method to what you're trying to do.
I want to include text file(or asset bundle with this text) inside of unity3d file, and do it on linux server, without using unity at all.
As far as I know, Unity is the only program that can package a .unity3d file, unless someone else has reverse-engineered the protocol AND written a program to do it for you. If not, you're out of luck.
Answer by ShadowTM · May 05, 2010 at 02:34 PM
I needed to create scenes for Unity3D in Adobe AfterEffects. To do this, i am writing a plugin that makes exports Unity3D readable format. This fomat may be only a text script file or XML?
@ShadowT$$anonymous$$, please create a new Question for - new questions... Don't put them as comments.
This is not a new question. I am not asking whether there is such a plugin or how do I write. The question concerns the file format for export. But I'll create a new question if necessary.
@ShadowT$$anonymous$$, even if it's a related question - it still should be in a separate Question. The reason for this site is to rate Questions and Answers as being good/bad, through voting. And if people mix questions and answers to those questions in a long chain of posts, it's harder to vote for the good Answers to the original question. This isn't like the Forums, where people have long discussions about topics. The ideal is to have a single Question, and several possible Answers to that Question, which we vote for. --- And yes, thanks for making it a new Question.
Answer by Cyclops · Apr 17, 2010 at 08:52 PM
If you want to include a text file in a Unity3D file, then just copy the text file into a Project's Assets directory. You can then select it, along with all your other assets, and do an Assets->Export Package, and the final .unity3d file will have everything you selected.
Yes, you still need Unity for this, but since the Basic version is free, that shouldn't be a major problem. Granted, it doesn't run on Linux, but if you don't have a PC or Mac, where are you getting the other Unity Assets from?
Sounds like he wants to build these on a server for runtime loading by clients.
@Horsman yes, I figured that part - what I wanted to know is where he's getting the assets from. Copying .unity3d files from other people's projects, say, and inserting his own text ads into them? Inquiring $$anonymous$$ds want to know :)
I know about asset bundles, but my application works with large database which is being exported into xml file, which I load into my app. $$anonymous$$y app size is much smaller than this database so I want to build database into unity3d file and save some inialisation time on making request to server.(trade cache miss on unity file with faster acces to data) I can download this xml file to windows pc, build it into my app and upload unity3d file back, but it's much better to have ""export db button on my site.
Ah, that's a different question. Your original question and title are a bit too specific - you might want to reword them, something like "How do I update data in an existing app without rebuilding it", for example. $$anonymous$$aybe that wording isn't the best, but you get the idea. It's better to ask a more general, goal-oriented question rather than an exact question like "what is the .unity3d file format", since there may be other ways to accomplish the goal.
Your answer
Follow this Question
Related Questions
Export objects to a .3DS file at runtime 1 Answer
Unity WebPlayer deployment? 0 Answers
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Getting a standalone project to run on a webpage? 0 Answers
Error running WebGL on any browser 0 Answers