Description

Enabling Shared Material Shader Code will cause a crash on tvOS

 

From user:

"We originally enabled Share Material Shader Code long before trying a tvOS build, making this crash tricky to debug. We eventually reproduced it by starting a new project and copying over settings one by one. We are able to workaround this issue as other optimizations make the shared shader code unnecessary, so turning it off does not threaten our project."

Steps to Reproduce

1. Create a starter C++ project.
2. Enable development builds on tvOS w/ proper certificates and provision files
3. Enable "Share Material Shader Code" on the Project - Packaging settings page
4. Package with File > Package Project > tvOS (do not use the "launch" button to run to a connected device – the crash will not occur)
5. Upload the packaged app to the Apple TV
 
Result: The game will launch, showing the splash screen, then the screen will go white and fade back to the main TV menu after a second or two, closing the app.
 
Expected: The game should launch normally. If "Share Material Shader Code" is truly incompatible with Apple TV hardware, then we should be explicitly stopped from enabling it in the settings or the build should fail quickly.

Have Comments or More Details?

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

2
Login to Vote

Cannot Reproduce
ComponentUE - Platform - Mobile
Affects Versions4.22.3
CreatedJul 9, 2019
ResolvedJan 22, 2020
UpdatedSep 17, 2020
View Jira Issue