Let $g_i: [0, 1] \to \mathbb R$ be $L^1$ functions, equibounded in $L^1$ norm. Let $X_i$ a sequence of iid uniform random variables on $[0, 1]$. Suppose that
$$\frac{1}{n} \sum_{i = 1}^n g_i (X_i) \to 0$$
in probability as $n \to \infty$.
Question: Is it true that
$$\frac{1}{n} \sum_{i = 1}^n g_i \to 0$$
in measure as $n \to \infty$ with respect to Lebesgue measure on $[0, 1]$?