Build 2106 has some problem with display.newLine() ?

I am trying with the latest build 2106 and found a crash in display.newLine with following error message:

bad argument #6 to 'newLine' (number expected, got no value)

the code is

local footerLine = display.newLine(group, x1, y1, x2, y2)

If I remove the first parameter (“group” in this case), the error goes away.

I think this is some new-introduced problem? Should I wait for the next release? I really want to start using this new release because it fixed an Android network bug that I have been long waiting for.

Yeah this is a new bug, my project does not run. I’m going back to 2100.

Corona release should do more regression test probably.

Same problem here, wasn’t aware newline even has 6 arguments  :stuck_out_tongue:

If someone at Corona sees this, if you remove the group from the newline function, you still get this printing out whenever a line is created, slowing everything down:

static int Rtt::DisplayLibrary::newLine(lua\_State \*) \*\*\* numArgs: 4 \*\*\* \*\*\* 69.5 -17.0 \*\*\* 69.5 0.0 \*\*\* \*\*\* \*\*\*  

We’re aware of this, and it should be fixed in the next daily build. Sorry for the inconvenience.

Brent

Yeah this is a new bug, my project does not run. I’m going back to 2100.

Corona release should do more regression test probably.

Same problem here, wasn’t aware newline even has 6 arguments  :stuck_out_tongue:

If someone at Corona sees this, if you remove the group from the newline function, you still get this printing out whenever a line is created, slowing everything down:

static int Rtt::DisplayLibrary::newLine(lua\_State \*) \*\*\* numArgs: 4 \*\*\* \*\*\* 69.5 -17.0 \*\*\* 69.5 0.0 \*\*\* \*\*\* \*\*\*  

We’re aware of this, and it should be fixed in the next daily build. Sorry for the inconvenience.

Brent