I’m attempting to create a custom landscape importer as per the documentation page (Creating Custom Landscape Importers In Unreal Engine | Unreal Engine 5.2 Documentation), I have generated a plugin according to that documentation (Plugins in Unreal Engine | Unreal Engine 5.2 Documentation) and it seems to work fine.
The problem is that when StartupModule is called, the LandscapeEditor module is not loaded and attempting to call FModuleManager::LoadModule to get it causes a segfault. Attempting to load a module that does not exist just returns an error, and attempting to load the LandscapeEditor module from the game code itself causes the same segfault. I have tried changing the module type, the loading phase, adding it as both a static and dynamic dependency and done a clean rebuild of the project between every step, but no luck.
Does anyone know how it’s supposed to be set up, or have any suggestions for alternative ways of importing custom data files as landscape heightmaps?