#Attempt to call a nil value

1 messages · Page 1 of 1 (latest)

tight pier
#

For some reason when simulating or when i'm not it will print that error line above. It will practically keep spamming it indefintely? Any reason as to why? I only have a couple module scripts and a local script i made within a couple of minutes so i'm not sure if it is that or not.

#

Just wanted to confirm whether it was a bug or something else

primal chasm
#

i THINK you're putting nil as an argument for something?

#

that might be it

#

you can always just check the script and line its happening on and see whats wrong with that line

kindred basalt
#

its also possible you have a renderstepped going on without returning anything and just letting it play

#

you most likely have an undefined variable, setting it up in a certain circumstance but your not telling the loop to return unless the variable is defined

#

i could be wrong though, so take this with a grain of salt

#

If not fixed, mind if we see the code?

lethal glade
#

means you're trying to call a nil value, for example "someFunction()" if it errors here it means "someFunction" is nil

primal chasm
#

oh right

#

if i had to guess he's calling a function before he defined it

tight pier
#

nevermind its a different issue

#

its happening in new test places

#

with no scripts or nothing

#

might be to do with my plugins

primal chasm
#

what

#

prob a plugin then yeah

tight pier
#

it was yeah