Description

A crash occurs when adding the two rendering variables 'r.UseShaderCaching' and 'r.UseShaderPredraw' when deployed to an Android device packaged for (ETC2).

I ran a few more tests to try and isolate if it was only one of the variables causing the crash. Results below.


r.UseShaderCaching=True
r.UseShaderPredraw=True

4.16.2 - Crash
4.17 P1 - Crash


r.UseShaderCaching=False
r.UseShaderPredraw=True

4.16.2 - No Crash
4.17 P1 - No Crash


r.UseShaderCaching=True
r.UseShaderPredraw=False

4.16.2 - Silent Crash
4.17 P1- No Crash


It seems like the combination of the two variables is what causes the hard crash after the splash screen appears. The 'silent crash' for the final test case simply exits the application shortly after launch without any sort of messaging.

Steps to Reproduce

1. Create new Third Person Template project targeted for Mobile (no starter content)
2. Open the project's DefaultEngine.ini
3. Add r.UseShaderCaching=True & r.UseShaderPredraw=True
4. Package the project for ETC2
5. Deploy/Install to compatible Android device.

Outcome A crash occurs immediately after the splash screen appears.

Expected Project successfully launches and the added variables are set as expected.

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.16.24.17
Target Fix4.18
Fix Commit3612145
Main Commit3627373
Release Commit3643070
CreatedJul 20, 2017
ResolvedAug 28, 2017
UpdatedSep 16, 2019
View Jira Issue