While there is true, it's also heavily misleading wrt europes history.
The techniques really were lost in the dark ages, because the church killed everyone that was talented and didn't join their ranks, effectively wiping out a lot of knowledge (by design)
And a lot of medieval European art was clearly aimed at realism, they just weren't very good at it because they didn't know the basics.