Description

In order to distribute content within GooglePAD's distribution size limit.
(1GB for install-time, 500MB for fast-follow, and 500MB for on-demand)
we are trying to package it as assetpack by dividing it into chunks(.pak files)
Currently, pak files are being packaged redundantly in the obb file.
So we cannot upload aab to google play due to exceeded size limit.

Steps to Reproduce
  1. Create third person template project using 4.26
  2. unzip attached TPS426.zip file and overwrite to the template project 
  3. file > package project > android > ETC2
  4. unzip output obb file and aab file in "[project path]\Binaries\Android"
  5. check if pakchunk1000-Android_ETC2.pak is exist in obb file

 

expected : pakchunk1000-Android_ETC2.pak should not be exist in obb file

 

if packaging is failed with following error message..

PackagingResults: Error: cmd.exe failed with args /c "D:\UnrealProjects\TPS426\Intermediate\Android\armv7\gradle\rungradle.bat" :app:assembleDebug

  1. make sure Android SDK (29), NDK(21b) , Java, .NET and Android Studio are installed properly
  2. run Android Studio v 4.x.x (or 4.1.2) - Note that you need to use higher version than version 3.5.3 that officially announced in 4.26 release note 
  3. open "[project path]\Intermediate\Android\gradle\"
  4. in Android Studio, build > rebuild project
  5. go back to unreal editor and retry package project again

 

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-111400 in the post.

1
Login to Vote

By Design
ComponentUE - Platform - Mobile
Affects Versions4.26.1
Target Fix4.27
CreatedMar 19, 2021
ResolvedApr 1, 2021
UpdatedJul 16, 2021
View Jira Issue