I mananaged to solve this one.
I found this topic in the forum:
C++ and blueprints compile but “Failed to load: Can’t find file” on building pixelstreaming project. - Development Discussion / Blueprint Visual Scripting - Unreal Engine Forums
I changed the following in the engine file “CableComponent.uplugin”:
“LoadingPhase” : From “Default” to “PreDefault”.
Is this a bug in the Engine?
I’m using UE5.