[UE 5.5.4] With ASIS, allow not having to specify obbModuleName when building ASISConnection

Hello!

We are currently migrating our project to UE 5.5.4 and using the latest Android Single Instance Service plugin (from Aug 25th) for this version of UE5. One thing we noticed from the client-side android application when we are building the ASISConnection, is we have to specify the “obbModuleName” like so:

ASISConnection.ConnectionBuilder(context)
    .withObbModuleName(unrealModuleName)

However, we are starting to create multiple projects now and would like a way where if this obbModuleName is not specified, it defaults to the one in the apk. We were able to make a minor Engine change in UnrealSharedInstanceService.java, specifically initializing mProjectName to “” instead of “UNDEFINED_PackageName”, in order to do this but it seemed to partially work, and after that change we had issue with the rest of the launch cmd-line params not being passed in.

This would help greatly so that we don’t have to create additional flavors/logic in our Android client code.

If there are additional questions, please let us know!

Thanks,

Nevin G

Hi Nevin,

There is indeed an unnecessary dependency between the existence of obbModuleName and the extraction of intent’s commandLineArgs extra which is relatively simple to address. We’ll reach out with a patch to try out for this.

Best regards.