You should have something to slow down those loops - an ipc.sleep perhaps. This is probably some clash between threads. I only have a handful of scripts and variables. This is intentionally over the top to replicate the issue quickly. get ( 'myVar' ) if myVar then print ( myVar ) end runlua ( path ) end while true do local myVar = ipc. i, 'you're not supposed to see this')Įnd]] local file = io. testdir ) for i = 1, 100 do local path = testdir. I made the following script which replicates my problem: I noticed that FSUIPC would often mix up the values of different variables for a few milliseconds and very rarely one of the scripts would crash with an access violation error. I have a few scripts which share variables with each other using ipc.get and ipc.set.