#Trying to create a buffer but it keeps throwing an error

1 messages · Page 1 of 1 (latest)

spark matrix
#

When I try to create a buffer with buffer.create() it throws the error " invalid argument #1 to 'create' (number expected, got table)" I cannot figure out why because the functions works else were in my code

keen bridge
#

unless you really don't know how to discuss your problem properly and just sent an image of only part of the problem, then the only possible conclusion is that DM.totalDataSize is not a number, but a table

spark matrix
#

The whole problem is right there

#

The DM.totalDataSize being declared as a number and the function ConfigureDataBuffer in the error

spark matrix
keen bridge
#

I mean, the error and the line of the error is there, but the problem is basically invisible

#

clearly something edits totalDataSize or the meta mechanics behind it return something different