We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9e468 commit efad895Copy full SHA for efad895
src/legacy/main/PluginManager.cpp
@@ -48,7 +48,7 @@ using ll::string_utils::str2wstr;
48
bool PluginManager::loadPlugin(const std::string& fileOrDirPath, bool isHotLoad, bool mustBeCurrentModule) {
49
if (fileOrDirPath == LLSE_DEBUG_ENGINE_NAME) return true;
50
51
- if (!std::filesystem::exists(fileOrDirPath)) {
+ if (!std::filesystem::exists(ll::string_utils::str2u8str(fileOrDirPath))) {
52
lse::getSelfPluginInstance().getLogger().error("Plugin not found! Check the path you input again.");
53
return false;
54
}
0 commit comments