Cooked build can't find a plugin.

I have an engine plugin that doesn’t seem to cook correctly. Everything works fine when working as an uncooked development build. However once cooked launching the project gives “Plugin ‘WisEVR’ failed to load because module ‘WisEVR’ could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project”. Additionally, in the logs I get:

[2019.02.21-16.26.20:047][  0]LogModuleManager: Warning: ModuleManager: Module 'WisEVR' not found - its StaticallyLinkedModuleInitializers function is null.   

I’ve checked to make sure I’m settings the dependancys in the various *.builds.cs files and that the .uplugin file has the module set to runtime. But nothing helps.

To make matters more confusing, I have a second engine plugin that cooks and works just fine. Both are configured the same way. The only difference is WisEVR has a plugin dependency to SteamVR. And I’m not seeing any errors being thrown during cook.

I’m out of ideas.

Solved. This is happening because the IMPLEMENT_MODULE statement had a typo and UHT doesn’t detect that you are implementing a module that doesn’t match the uplugin configuration.

1 Like