Every time I upload a new version of a plugin to my dev server I get this error even if I upload the exact same file that is currently loaded with no changes.
It should be noted that the plugin reports as unloaded when using the "plugins" command in the in-game console after attempting to upload a new file.Code:Server startup complete Reload requested for plugin which is already loading: NTeleportation(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)NTeleportation was compiled successfully in 1482ms(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Unloaded plugin NTeleportation v1.0.25 by Nogrod(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)Non platform assembly: data-0x7f557f201620 (this message is harmless) Fallback handler could not load library /home/rust_test/serverfiles/RustDedicated_Data/Mono/x86_64/data-0x7f557f201620.so Unable to find main plugin class: NTeleportation(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)No previous version to rollback plugin: NTeleportation(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
The new file I uploaded was the exact file that was originally loaded. If I do a complete restart to the server the plugin will load with no errors. I was wondering how I could go about fixing this issue because it significantly slows down my development. For any change I make to my plugin a restart is required for the new version to load properly.
Extra info:
Code:rust_test@eu:~$ cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.10 DISTRIB_CODENAME=artful DISTRIB_DESCRIPTION="Ubuntu 17.10" NAME="Ubuntu" VERSION="17.10 (Artful Aardvark)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 17.10" VERSION_ID="17.10" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=artful UBUNTU_CODENAME=artful
Solved Unable to find main plugin class (FTP issue)
Discussion in 'Rust Discussion' started by CombatTag, Feb 14, 2018.
-
Wulf Community Admin
That error happens when the compiler has trouble reading the plugin file, for whatever reason.
-
I realized that I recently changed FTP clients from FileZilla to MobaXterm switching back seems to have fixed my issue. I guess something about the way MobaXterm uploads files is not compatible with the auto-compile/reload Oxide feature. Thanks for the help!