PlatformerGame is crashing when packaged and launched on tvOS. Assertion from console log:
Nov 30 11:03:12 Apple-TV-Joey PlatformerGame[519] <Notice>: Assertion failed: FMath::TruncToInt(drawableSize.width) == FMath::TruncToInt(self.bounds.size.width * self.contentScaleFactor) && FMath::TruncToInt(drawableSize.height) == FMath::TruncToInt(self.bounds.size.height * self.contentScaleFactor) [File:/Users/engineqa/UE4/Builds/RDU-WD-7313/D/Build/joseph.wysosky_Main/Engine/Source/Runtime/Core/Private/iOS/IOSView.cpp] [Line: 316]
Result: PlatformerGame loading screen is shown briefly before crashing back to the main screen
Nov 30 11:03:12 Apple-TV-Joey PlatformerGame[519] <Notice>: Assertion failed: FMath::TruncToInt(drawableSize.width) == FMath::TruncToInt(self.bounds.size.width * self.contentScaleFactor) && FMath::TruncToInt(drawableSize.height) == FMath::TruncToInt(self.bounds.size.height * self.contentScaleFactor) [File:/Users/engineqa/UE4/Builds/RDU-WD-7313/D/Build/joseph.wysosky_Main/Engine/Source/Runtime/Core/Private/iOS/IOSView.cpp] [Line: 316]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39188 in the post.
| 0 |
| Component | UE - Platform - Mobile |
|---|---|
| Affects Versions | 4.15 |
| Target Fix | 4.15 |
| Fix Commit | 3222675 |
|---|---|
| Main Commit | 3233813 |
| Created | Nov 30, 2016 |
|---|---|
| Resolved | Dec 6, 2016 |
| Updated | Sep 16, 2019 |