Download

UE5 Android UPL changes?

Hi,

I was trying to update my project to UE5 to try things out. I got everything working pretty much out of the box, some minor changes required in my .Build.cs scripts. However, when building for android I noticed that my java functions defined in my UPL script can not be found.

I have a UPL script which contains

  <gameActivityClassAdditions>
    
    <insert>
    ****CODE***
    </insert>
  </gameActivityClassAdditions>

And in by .Build.cs file I have

		if (Target.Platform == UnrealTargetPlatform.Android)
		{
			
				AdditionalPropertiesForReceipt.Add("AndroidPlugin", Path.Combine(pluginPath, "MY_UPL.xml"));
}

Has there been any changes in the workflow with the Unreal Plugin Language between UE4 and UE5? Have anyone else tried upgrading their Android project to UE5?

Best regards
Pontus