Describe the bug
If you use YouTube Premium's download feature to download a video with 1080p Premium at 1080p, it downloads the 1080p Premium version (based on Stats for Nerds when playing the downloaded video). If you have either of the default quality settings set to anything other than "default", playing one of these downloaded videos causes a crash. Setting both Wi-Fi and cellular to "default" prevents the crash. ytp_5.2.1+21.16.2.ipa.
I can get a full crashlog but here is the one from LiveContainer which I'm assuming is enough and this is a fairly clear bug from missing a string or something. I can also give you more context on what some of the Obj-C methods give if you don't have YouTube Premium if it's not though.
*** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[1]
Call stack: (
0 CoreFoundation 0x000000019826c970 2F32D384-4637-3018-843E-4FC875B865C4 + 809328
1 YouTube 0x000000011a583e04 YouTube + 39828996
2 YouTube 0x000000011a5833e4 YouTube + 39826404
3 libobjc.A.dylib 0x0000000195149814 objc_exception_throw + 88
4 CoreFoundation 0x0000000198284b54 2F32D384-4637-3018-843E-4FC875B865C4 + 908116
5 CoreFoundation 0x00000001982ecb24 2F32D384-4637-3018-843E-4FC875B865C4 + 1334052
6 YTLite.dylib 0x000000010db5aaa0 innertubeName + 631244
7 Foundation 0x0000000195923924 __NSFireDelayedPerform + 372
8 CoreFoundation 0x00000001981f4c00 2F32D384-4637-3018-843E-4FC875B865C4 + 318464
9 CoreFoundation 0x00000001981f48c0 2F32D384-4637-3018-843E-4FC875B865C4 + 317632
10 CoreFoundation 0x00000001981f4434 2F32D384-4637-3018-843E-4FC875B865C4 + 316468
11 CoreFoundation 0x00000001981c4abc 2F32D384-4637-3018-843E-4FC875B865C4 + 121532
12 CoreFoundation 0x00000001981c3a6c 2F32D384-4637-3018-843E-4FC875B865C4 + 117356
13 GraphicsServices 0x000000023cb61498 GSEventRunModal + 120
14 UIKitCore 0x000000019dc73df8 C768F963-A0CC-3F5C-A1D3-2E06D53A2381 + 646648
15 UIKitCore 0x000000019dc1ce54 UIApplicationMain + 336
16 YouTube 0x00000001185f973c YouTube + 6756156
17 LiveContainerShared 0x00000001048aa050 LiveContainerMain + 8420
18 dyld 0x000000019519ee28 8ACDB580-8AB7-38C0-A586-E667ADB1C11C + 20008
)
Steps to reproduce
- Have YouTube Premium
- Go to Settings > Player > Playback quality on * and set either to anything other than default
- Download a video with 1080p Premium at 1080p (can confirm with Stats for Nerds if you didn't get a crash)
- Play the downloaded video
- Notice YouTube crashes
- Set both playback quality settings to default
- Play the downloaded video
- Notice no crash
Crashlog
No response
Post Requisites
Describe the bug
If you use YouTube Premium's download feature to download a video with 1080p Premium at 1080p, it downloads the 1080p Premium version (based on Stats for Nerds when playing the downloaded video). If you have either of the default quality settings set to anything other than "default", playing one of these downloaded videos causes a crash. Setting both Wi-Fi and cellular to "default" prevents the crash.
ytp_5.2.1+21.16.2.ipa.I can get a full crashlog but here is the one from LiveContainer which I'm assuming is enough and this is a fairly clear bug from missing a string or something. I can also give you more context on what some of the Obj-C methods give if you don't have YouTube Premium if it's not though.
Steps to reproduce
Crashlog
No response
Post Requisites