Download

Plugin/module not found 4.25

Hi,

I have a plugin build for PC, it works in editor and standalone, but on Android when the app is launched, I have a popup with this message : 3DRudder’ failed to load because module ‘_3dRudder’ could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project

In the log I see this line : Module ‘_3dRudder’ not found - its StaticallyLinkedModuleInitializers function is null. I think the issue is here but I don’t know what it is StaticallyLinkedModule
How can fix this ?

Uplugin


{
"FileVersion": 3,
"Version": 3,
"VersionName": "3.5",
"FriendlyName": "3dRudder Plugin",
"Description": "3dRudder plugin base on the 3dRudderSDK for Unreal Engine",
"Category": "Input Devices",
"CreatedBy": "3dRudder",
"CreatedByURL": "http://www.3drudder.com",
"DocsURL": "https://3drudder-dev.com/docs/3drudder-documentations/3drudder-sdk-unreal-engine/",
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/8224f641f1854345a1c10d32e66218d0",
"SupportURL": "https://www.3drudder.com/contact/",
"EngineVersion": "4.25.0",
"CanContainContent": true,
"Installed": true,
"Modules": 
{
"Name": "_3dRudder",
"Type": "Runtime",
"LoadingPhase": "PostEngineInit",
"WhitelistPlatforms": 
"Win64",
"Android"
]
},
{
"Name": "_3dRudderEditor",
"Type": "Editor",
"LoadingPhase": "PostEngineInit",
"WhitelistPlatforms": 
"Win64"
]
}
]
}

build.cs


else if (Target.Platform == UnrealTargetPlatform.Android)
{
// Add a more generic path to the include header files
PublicIncludePaths.Add(Path.Combine(SDKPath, "Include"));
// Add the architecture specific path to the library files

//ArchitecturePath = "android\\arm64";
PublicAdditionalLibraries.Add(Path.Combine(SDKPath, "Lib", "Android", "ARM64", "lib_3dRudderSDK_Dyn.a"));
PublicAdditionalLibraries.Add(Path.Combine(SDKPath, "Lib", "Android", "ARMv7", "lib_3dRudderSDK_Dyn.a"));
AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(ModulePath, "_3dRudder_API.xml"));

isLibrarySupported = true;
}

API.xml


<init>
<log text="3dRudderSDK init"/>
<setBool result="bSupported" value="false"/>
<isArch arch="armeabi-v7a">
<setBool result="bSupported" value="true"/>
</isArch>
<isArch arch="arm64-v8a">
<setBool result="bSupported" value="true"/>
</isArch>
</init>

<AARImports>
<insertValue value="repository $S(PluginDir)/../ThirdParty/repository"/>
<insertNewline/>
<insert>com.ns3drudder.bt_bridge_android,Bt3dR,3.10.2</insert>
<insertNewline/>
<insert>com.android,support-v4,23.0.0</insert>
<insertNewline/>
</AARImports>

Log:

LogModuleManager: Warning: ModuleManager: Module ‘_3dRudder’ not found - its StaticallyLinkedModuleInitializers function is null.
LogPlayLevel: 08-13 11:09:56.412 31125 31189 D UE4 : [2020.08.13-09.09.56:411] 0]LogAndroid: Case APP_CMD_LOST_FOCUS
LogPlayLevel: 08-13 11:09:56.412 31125 31189 D UE4 : LogAndroidEvents::EnqueueAppEvent : 10, [width=-1, height=-1], tid = 31189, APP_EVENT_STATE_WINDOW_LOST_FOCUS
LogPlayLevel: 08-13 11:09:56.528 31125 31288 D UE4 : [2020.08.13-09.09.56:527] 0]LogTcpMessaging: Started Connection to ‘127.0.0.1:51051’
LogPlayLevel: 08-13 11:09:56.529 31125 31288 D UE4 : [2020.08.13-09.09.56:529] 0]LogTcpMessaging: Discovered node ‘681519E7463544F94E26B88877C955E4’ on connection ‘127.0.0.1:51051’…
LogPlayLevel: 08-13 11:10:00.579 31125 31188 D UE4 : [2020.08.13-09.10.00:579] 0]Message dialog closed, result: Ok, title: Message, text: Plugin ‘3DRudder’ failed to load because module ‘_3dRudder’ could not be found. Please ensure the plugin is properly installed, otherwise consider disabling the plugin for this project.
LogPlayLevel: 08-13 11:10:00.579 31125 31188 D UE4 : [2020.08.13-09.10.00:579] 0]LogCore: Engine exit requested (reason: One or more modules failed PostEngineInit)
LogPlayLevel: 08-13 11:10:00.579 31125 31188 D UE4 : [2020.08.13-09.10.00:579] 0]LogAndroid: Passed GEngineLoop.Init()
LogPlayLevel: 08-13 11:10:00.579 31125 31188 D UE4 : [2020.08.13-09.10.00:579] 0]LogAndroid: Exiting