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.
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.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47553 in the post.
4 |
Component | UE - Platform - Mobile |
---|---|
Affects Versions | 4.16.2, 4.17 |
Target Fix | 4.18 |
Created | Jul 20, 2017 |
---|---|
Resolved | Aug 28, 2017 |
Updated | Sep 16, 2019 |