Project inspection "No Data" in environment selection dropbox

Why do I get “No Data” in project inspection environment inspection?
Following in a screenshot of the project inspection setup screen:

The content of my platformio.ini file is as follows:

[env]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
monitor_filters =
 esp32_exception_decoder
 log2file
 time
 default
debug_tool = esp-prog
build_type = debug
debug_init_break = tbreak setup
upload_port = COM4
monitor_port = COM4
build_flags = -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_ERROR

[env:wired]
build_flags = ${env.build_flags} -D ICMPPING_ASYNCH_ENABLE
lib_deps = Ethernet

[env:wifi]
build_flags = ${env.build_flags} -D USE_WIFI

The project compiles and builds successfully.