Mobile virtual texture error when packaging for Android

HI Folks

I am getting the following error when attempting to package for android on 5.8

UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: begin: stack for UAT
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: === Handled ensure: ===
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error:
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: Ensure condition failed: false [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\ConsoleManager.cpp] [Line: 4916]
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: r.Mobile.VirtualTextures is deprecated, use r.VirtualTextures in platform specific engine .ini files instead
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: Stack:
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffa6770cb18 UnrealEditor-Core.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffa66a581df UnrealEditor-Core.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffa66a6d1c2 UnrealEditor-Core.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffa66d41fa0 UnrealEditor-Core.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffa66d21294 UnrealEditor-Core.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2eb893 UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2dc263 UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2dc5ba UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2e1256 UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2f5c74 UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ff73e2f838a UnrealEditor-Cmd.exe!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffafc52dda7 KERNEL32.DLL!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: [Callstack] 0x00007ffafdfbee4c ntdll.dll!UnknownFunction
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error:
UATHelper: Error: Packaging (Android (ASTC)): LogOutputDevice: Error: end: stack for UAT
UATHelper: Packaging (Android (ASTC)): LogHAL: Display: Platform has ~ 32 GB [34276229120 / 34

I have virtual textures disabled in project settings and have also added r.Mobile.VirtualTextures=0 to the DefaultEngine.ini in my project config folder. The game packaged fine on 5.7 so not sure what the issue is. Any help would be greatly appreciated.

I managed to get this working by deleting r.Mobile.VirtualTextures from the defaultengine.ini. however I am now having another error with UATHelper: Error: Packaging (Android (ASTC)): cmd.exe failed with args /c “E:\projectname\Intermediate\Android\arm64\gradle\rungradle.bat” :app:assembleDebug ! will put this in another post…