PDA

View Full Version : Error after 10 UI elements created



rjotanm
06-25-2018, 06:10 PM
After creating ten new UI elements, for example, this way



existedXml = UI.getXmlTable ()
newXml = {
tag = "Button",
attributes = {
width = "100",
height = "100"
}
}
table.insert (existedXml, newXml)
UI.setXmlTable (existedXml)

I'm getting this error.

screenshot (https://snag.gy/IL8aWJ.jpg)
(sorry, but I can't find error in logs)

After an error occurs, an attempt to create a new element results in an error.

If you save the game and load, the error appears again after ten new items are created.

The eleventh element is not created(because error).

UDP ports are opened(error message about P2P, yeah? i don't khow how this works).
No one assets.

game version is 10.7.1

some system info


:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (buster)
Release: testing
Codename: buster
:~$ uname -r
4.16.0-2-amd64


What am I doing wrong?