Search Issue Tracker

In Progress

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Fix In Review for 6000.1.0b3

Votes

1

Found in

2021.3.45f1

2022.3.55f1

6000.0.31f1

6000.1.0a8

7000.0.0a1

Issue ID

UUM-90986

Regression

No

[iOS][macOS] WebCamTexture.Play() causes infinite loop when building iOS project to Mac (Designed for iPad)

--

-

*Steps to reproduce:*

1. Open the "WebCamTextureTest.zip" project

2. Go to File > Build Settings and switch to the iOS Platform

3. Build Xcode project and then open it

4. Select "My Mac (Designed for iPad)" as run destination

5. Build and run

*Actual results:* Build succeeds but proceeds to loop with error messages:

 
{code:java}
Error creating pipeline library Error Domain=MTLLibraryErrorDomain Code=6 "pipeline library not found" UserInfo={NSLocalizedDescription=pipeline library not found} from className PTEffect. Falling back to MTLLibrary
CMIO_DAL_CMIOExtension_Stream.mm:3213:ReceivedSampleBuffer 35 queue full
<<<< BWPixelBufferPool >>>> Fig assert: "err == 0 " at bail (BWPixelBufferPool.m:622) - (err=-6689)

{code}
*Expected results:* Build succeeds with no errors

*Reproducible with versions:* 2021.3.45f1, 2022.3.55f1, 6000.0.31f1, 6000.1.0a8

*Tested on (OS):* MacBook Pro, Apple M1 Max, Sequoia 15.1.1

*Not reproducible with:*
* VLNQA00619 - iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, OS: 18.0.1

*Notes:*
* Empty project doesn't reproduce this issue
* Not reproducible on iOS device
* sometimes building crashes. Logs: 
{code:java}
dyld[89048]: Symbol not found: _OBJC_CLASS_$_AVPlayerView
  Referenced from: <D566512D-CAB4-3EA6-9B87-DBD15C6E71B3> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Debugger/libViewDebuggerSupport.dylib
  Expected in:     <B1D8EA23-370D-3B45-81E0-7D5982262CCD> /System/iOSSupport/System/Library/Frameworks/AVKit.framework/Versions/A/AVKit
(lldb) bt
* thread #1, stop reason = signal SIGABRT
  * frame #0: 0x0000000183a7473c dyld`__abort_with_payload + 8
    frame #1: 0x0000000183a7bab4 dyld`abort_with_payload_wrapper_internal + 104
    frame #2: 0x0000000183a7bae8 dyld`abort_with_payload + 16
    frame #3: 0x0000000183a151f4 dyld`dyld4::halt(char const*, dyld4::StructuredError const*) + 300
    frame #4: 0x0000000183a11ba0 dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3996
    frame #5: 0x0000000183a10bc0 dyld`dyld4::start(dyld4::KernelArgs*, void*, void*)::$_0::operator()() const + 544
    frame #6: 0x0000000183a1005c dyld`start + 2304
Message from debugger: killed
{code}
 

  1. Resolution Note (fix version 6000.1.0b3):

    Changed [AVCaptureSession startRunning] to run in a background thread. This change consequently fixed the issue with possible recursive PlayerLoop calls.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.