how can i export prefab data to xml

hi,every one:
Rencently i confronted a problem ,my server wanted to use some data from u3d gameobject such as position,scale,rotation etc. But the file u3d exported is .unitypackage,my server can’t understand it.So i wanna know if there is a way to change the type .unitypackage to some simple file type such as xml txt! Thanks a lot!

You can certainly write some data into a file. But there is no automatic method for that. You will have to write it yourself.

Note that the .unitypackage files contain the raw data of the game (like a ROM). It is not updated during the game. If you’re looking for a way to communicate with your server, then think of some HTTP or UDP packet transmission.