No, I'm using Windows.
I closed down the game when I got the error and booted it up again, and didn't get the error.
It's the result of some redundant code. (that I should've deleted). It's already fixed in the new patch! (Hopefully)