-
Notifications
You must be signed in to change notification settings - Fork 576
Open
Description
Describe the bug
The app crashed after setting GPU Frame Capture to Metal
To Reproduce
Steps to reproduce the behavior:
- Use the example Unity build UnityLibrary for iOS
- Edit Target Runner Scheme: Run => Options => GPU Frame Capture : Metal
- Build and run
Expected behavior
Run without crashing.
Unity:
- Version: Unity2022.3.60f1
XCode:
- Version: 16.3 (16E140)
Smartphone :
- Device: iPhone13
- OS: iOS18.4
Additional context
libdispatch.dylib`_dispatch_once_wait.cold.1:
0x10205bfb0 <+0>: and x8, x0, #0x3
0x10205bfb4 <+4>: cmp x8, #0x2
0x10205bfb8 <+8>: b.ne 0x10205bff0 ; <+64>
0x10205bfbc <+12>: dmb ishld
0x10205bfc0 <+16>: mov x8, #0xfffff0000 ; =68719411200
0x10205bfc4 <+20>: movk x8, #0xc180
0x10205bfc8 <+24>: ldr x8, [x8]
0x10205bfcc <+28>: lsl x8, x8, #2
0x10205bfd0 <+32>: sub x8, x8, x0
0x10205bfd4 <+36>: sub x8, x8, #0xe
0x10205bfd8 <+40>: cmn x8, #0x11
0x10205bfdc <+44>: b.hi 0x10205c054 ; <+164>
0x10205bfe0 <+48>: mov w0, #0x0 ; =0
0x10205bfe4 <+52>: mov x8, #-0x1 ; =-1
0x10205bfe8 <+56>: str x8, [x1]
0x10205bfec <+60>: ret
0x10205bff0 <+64>: orr x8, x0, #0x1
0x10205bff4 <+68>: mov x4, x0
0x10205bff8 <+72>: cmp x8, x0
0x10205bffc <+76>: b.eq 0x10205c018 ; <+104>
0x10205c000 <+80>: mov x9, x0
0x10205c004 <+84>: cas x9, x8, [x1]
0x10205c008 <+88>: str x9, [x3]
0x10205c00c <+92>: mov x4, x8
0x10205c010 <+96>: cmp x9, x0
0x10205c014 <+100>: b.ne 0x10205c07c ; <+204>
0x10205c018 <+104>: eor w8, w0, w2
0x10205c01c <+108>: tst x8, #0xfffffffc
0x10205c020 <+112>: b.eq 0x10205c05c ; <+172>
0x10205c024 <+116>: pacibsp
0x10205c028 <+120>: stp x29, x30, [sp, #-0x10]!
0x10205c02c <+124>: mov x29, sp
0x10205c030 <+128>: mov x0, x1
0x10205c034 <+132>: mov x1, x4
0x10205c038 <+136>: mov w2, #0x0 ; =0
0x10205c03c <+140>: mov w3, #0x2 ; =2
0x10205c040 <+144>: bl 0x10202680c ; _dlock_wait
0x10205c044 <+148>: mov w0, #0x1 ; =1
0x10205c048 <+152>: ldp x29, x30, [sp], #0x10
0x10205c04c <+156>: autibsp
0x10205c050 <+160>: ret
0x10205c054 <+164>: mov w0, #0x0 ; =0
0x10205c058 <+168>: ret
0x10205c05c <+172>: stp x20, x21, [sp, #-0x10]!
0x10205c060 <+176>: adrp x20, 10
0x10205c064 <+180>: add x20, x20, #0x708 ; "BUG IN CLIENT OF LIBDISPATCH: trying to lock recursively"
0x10205c068 <+184>: adrp x21, 49
0x10205c06c <+188>: add x21, x21, #0x1b8 ; gCRAnnotations
0x10205c070 <+192>: str x20, [x21, #0x8]
0x10205c074 <+196>: ldp x20, x21, [sp], #0x10
-> 0x10205c078 <+200>: brk #0x1
0x10205c07c <+204>: mov w0, #0x2 ; =2
0x10205c080 <+208>: ret
Metadata
Metadata
Assignees
Labels
No labels