Error:There may be an operating system error or the module may not be properly set up

I am doing a team work with my mates with a version controller. Some mates did some C++ work and when i got latest version, i cannot open it and it said: The game module ‘Biclcle’ could not be loaded. There may be an operating system error or the module may not be properly set up.
I know it may because of losing some relevant dlls but I don’t know what are they. How can I check them and fix them???

The answer is in this thread. Check the answer from isgoed.

I had the same issues and yeah it’s because some dlls can’t be loaded (because they don’t exists or they are incompatible with the architecture for example)

The previous link helped me to figure out which dlls were missing.

Good luck !
Best regards.

1 Like

Hi. According to your answer. I have found the dll file which caught the problem. However, I also realized that this dll is in my path: \project\Binaries\Win64\ControlCAN.dll
I had it, but it was not included in my project lib. How should I fix it?

Follow this tutorial to know how to link ThirdParty libraries to your project: link text

To simplifie the tutorial, just add two lines in your PROJECT.Build.cs:

PublicIncludePaths.Add("PATH_TO_YOUR_INCLUDE")
PublicAdditionalLibraries.Add("PATH_TO_YOUR_LIB/YOUR_LIB.lib")

Good luck :slight_smile:

I had the same error but it was a different cause, I tried to compile an incomplete blueprint, the program crahsed and wouldn’t start up again - it would but it would hang and then show the error message.

I managed to fix it by cleaning and rebuilding the C++ solution in Visual Studio, then closing it after it had finished - it said it deleted old hot-reload files - and running the launcher again in administrative mode.

in your game folder, open “{your_game_name}.sln” file with Visual Studio, and rebuild the whole solution.

135143-screenshot_1.png

Thanks a lot. That worked!

Hey, I recently ran into this issue when porting my plugin from 4.16 to 4.20.3.

I found that the root cause was that the plugin I had was not setup properly with the right dependent plugins. This meant when my plugin loaded, that it failed to load dlls that it depended on. This caused my plugin fail… which distracted me from the actual issue that it didn’t load all the other plugins it relied on.

Double check that you don’t have any plugin warnings when building your plugin (if you built it) and double check the dependencies in the .uplugin file for the plugin that fails to load. This fixed it for me, hopefull for you as well. In my case I forgot to add the ‘WebBrowserWidget’ plugin.

2 Likes

ensure the plugin has been enabled in .uproject file.

Thanks for sharing the @isgoed thread here. It helped me to fix that error!!
:smiley:

People in the future! I’ve solved it with the steps described here: unreal engine5 - The game module 'X' could not be loaded. There may be an operating system error - Stack Overflow