Read variables set by assignment

I have also struggled with this same issue (reading urscript variables via Java). Right now I am looking into setting the value to a general purpose register with urscript and attempting to read it…somehow…? not really sure. I just created a similar post here: Get variable/register value from Java