What causes this to happen?

Please this is the problem…

Hello,

hard to say without context. However on your picture is visible Mbed_2 and if your projet is based on old Mbed2 library, then this can be reason. The MbedStudio does not support MbedOS older than 5.12 (Mbed 2 included).

BR, Jan