After upgrading an existing Android project (targeted at Meta Quest 3) to UE5.6.0, the packaging fails with the following errors:
UATHelper: Packaging (Android (ASTC)): LogTexture: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_1_HQ)
UATHelper: Packaging (Android (ASTC)): LogTexture: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_1_LQ)
UATHelper: Packaging (Android (ASTC)): LogTexture: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_2_HQ)
PackagingResults: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_1_HQ)
PackagingResults: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_1_LQ)
PackagingResults: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_2_HQ)
UATHelper: Packaging (Android (ASTC)): LogTexture: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_2_LQ)
PackagingResults: Error: Texture RequiresVirtualTexturing but VT is off (VirtualTexture0_2_LQ)
Packaging used to work fine on UE5.4.4, and I cannot enable Virtual Texture support because the frame-rate on Meta Quest 3 is very bad with it (30-40 FPS vs easy 72 FPS without Virtual Textures).
Has anyone seen this error before, and if so, how did you solve it?
How can I find/see which textures are causing the problem? I’m not aware of using any textures that would require Virtual Texture support, and the output log does not show any more specific errors that could indicate what textures are the problem.
That’s a very peculiar issue you are encountering. Since UE 5.6 has just released, it is still prone to unexpected behaviours. In order to fix this problem, try the following:
From Content Browser, select your main folder (or if you have a dedicated folder for texture files, select that one)
Right click and go for Asset Actions > Bulk Edit via Property Matrix
From there, search for “Virtual Texture Streaming”
Uncheck this for all selected textures, then save
Now, go to Edit > Project Settings > Engine > Rendering > Virtual Textures and ensure “Enable Virtual Texture Support” is unchecked
Finally, move to Edit > Project Settings > Editor > Texture Import > Virtual Textures and ensure “Automatically enable Virtual Texture Streaming on Texture Import” is unchecked, and that “Auto Virtual Texturing Size” is set to 0