I have a problem when I build the project

Hi, I realized a system multilanguage; in editor this work fine but when I build no.
There are the script:
xml: language - Pastebin.com
script c#: readXml - Pastebin.com
log: Initialize engine version: 2017.1.0f3 (472613c02cf7)GfxDevice: creating device - Pastebin.com

What isn’t working? Are you getting an errors?

If building out to mobile, use log viewer (free on the asset store) to view console messages. It should also work for other platforms.

But in the editor it’s work

3212184--245935--WhatsApp Image 2017-09-07 at 16.31.48.jpeg

I haven’t used xml in a long time. Made the switch to json. But it looks like there is an error in your xml file.

What error?

I don’t know. Just looking at the error you are getting, it appears to be an xml parsing error. Maybe see if there is a xml checker online that you can run your xml through and see if it spits out an error.

Again, I haven’t used xml in about a year.

I tried but no errors were found

First guess would be that you have nothing in your PlayerPrefs for “language” on your built target but in the Editor you do.

1 Like

Thanks you so much ^^