I have not tested on emulator GLES2.0, but @adi.barda tested that & reported the exception back, its working fine on emulator GLES3.1 & my device GLES3.2…
@IseTheSal must carefully recheck the emulator GLES version, since its changeable in the advanced settings & usually its auto by default…