If I understand correctly FXchunk ID is based on this line
Code:
local Start, Stop = string.find(StateChunk, OldFXStateChunk, 0, true)
followed by
Code:
StateChunk=StateChunk:sub(1,Start-1)..FXStateChunk:match("%s-(.*)")..StateChunk:sub(Stop+1,-1)
So several takes have empty string as OldFXStateChunk, then it could fails.
Not sure if this is the issue but maybe it is.
What do you think ?