Factory create properties can't be nil if have scale (DEF-3216) (SOLVED)

factory.create("/go#factory", START_POSITION, nil, nil, SCALE)
bad argument #4 to 'create_go' (table expected, got nil)
factory.create("/go#factory", START_POSITION, nil, {}, SCALE)
working
4 Likes

Added issue DEF-3216 for this.

3 Likes

Solved in Defold 1.2.126

2 Likes

Same issue with collectionfactory:

collectionfactory.create("#collectionfactory", nil, nil, nil, 0.5)
expected table at argument #4 to collectionfactory.create
2 Likes

Added ticket DEF-3338 for this.

2 Likes