Function Not Sending Full Table, Only Happens 40% of The Time?

Well first of all, if it does work sometimes then it is most likely an issue with another thread writing to the table before you pull and read from it in that thread. However you have given us little code to go off in order to debug the other possible thread that might be causing this irritant.

So instead ill recommend you something else. The debugger is really good for these scenarios. With it you can follow your script in real time and see all the changes to your values and so forth. I would place down a breakpoint somewhere in that area of code and just follow your script down its lines of logic. Look for anything that might seem to be peculiar, and when you find something get back to us and post your findings.

2 Likes

Ok… I won’t lie, I’m pretty embarrassed to admit this.

Thanks to XX1Luffy1XX’s reply, I decided to look at the Script in Studio to start the debug process.

I use Rojo and have everything synced up while using VSCode. Because of this, I never realized I had two Scripts in the same directory named “SurveyConfig.” One is an older version of the current Script…

I apologize for wasting everyone’s time who contributed to this, and I’ll be sure to verify any possible ‘double scripts’ again.