Package game error when use PublicDependencyModuleNames.AddRange to add MaterialUtilities module

Hello everyone,
I need to use MaterialUtilities::CreateMaterial in my project ,the module is local at “Engine\Source\Developer\MaterialUtilities”,and I add the module by PublicDependencyModuleNames.AddRange in,and it work correctly,but it get error when packaging the project.
I have tried many modules and I found that it get error when package project using the module at “Engine\Source\Developer”,but it will not occur error when using the module at “Engine\Source\Runtime or Engine\Source\ThirdParty”,are there differences ?

How did you end up solving that problem? RawMesh module had the problem too.