It looks like the issue happens when the acfe/modules/performance is true
https://www.acf-extended.com/features/modules/performance-mode
add_action('acf/init', 'my_acfe_modules');
function my_acfe_modules(){
// enable performance mode with ultra engine (default)
acf_update_setting('acfe/modules/performance', true);
}