Search Issue Tracker
Fixed
Votes
0
Found in
5.3.0b1
Issue ID
734404
Regression
Yes
[iOS][Graphics] ReadPixels fails for a few seconds after the game was started
Reproduction steps:
1. Open attached project "ReadPixelsError"
2. Build scene "Test1" for iOS
3. Run the game on a device or through a simulator
4. Look in the Xcode log
--- You should see this error: ReadPixels was called to read pixels from system frame buffer, while not inside drawing frame
Code that seems to be causing this issue:
IEnumerator Start () {
...
yield return new WaitForEndOfFrame();
targetTexture.ReadPixels(new Rect(0, 0, renderTexture.width, renderTexture.height), 0, 0);
targetTexture.Apply();
...
}
Notes:
--- No error in editor nor in OSX Standalone
--- On iOS error is thrown with both IL2CPP and Mono
Regression since version: 5.2.1p3 (b7d18ab613bc)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment