Search Issue Tracker

Fixed

Votes

0

Found in

5.0.0b18

Issue ID

660087

Regression

Yes

[iOS] EXC_BAD_ACCES when trying to access buffer from display other than Display.main

iOS

-

To Reproduce:

1. Open the attached project

uncomment these lines (DualDisplay.cs):

Display secondDisplay = Display.displays[1];
mainCamera.SetTargetBuffers (secondDisplay.colorBuffer, secondDisplay.depthBuffer);

2. Deploy to an iOS device and enable AirPLay mirroring.

3. Notice that xCode throes 'EXC_BAD_ACCES' error when trying to retrieve the secondDisplay buffer.

4. No Crash when accessing Display.main.colorBuffer/Depth (if those lines are left commented out).

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.