Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2019.4
2019.4.7f1
2020.2
Issue ID
1277009
Regression
No
[Metal][iOS] Shadowmask lighting causes two extra Load/Store Actions when Deferred Renderer is used
How to reproduce:
1. Open the attached 'ShadowmaskLoadStoreActions.zip' project
2. Switch Platform to iOS and enable Development Build in Build Settings
3. Build for iOS and open the Xcode project
4. Go to Product > Scheme > Edit Scheme
5. Set Metal API Validation to Enabled
6. Set GPU Frame Capture to Metal
7. Deploy project to an iOS device
8. Click the camera button in Xcode's debug bar
9. Navigate to Camera.Render/Drawing/Render.OpaqueGeometry/RenderDeferred.GBuffer
Expected result: Clearing render pass is executed only once
Actual result: Two additional clearing render passes are executed
Reproducible with: 2019.4.11f1, 2020.1.6f1, 2020.2.0b3
Couldn't test with: 2018.4.27f1(no GBuffer render passes in Xcode)
Reproducible with:
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPad Air 2 (iOS 11.0.3)
Could not test with:
iPad 9.7 6th gen (iOS 14.0b7) (Consistently crashes on Frame Capture)
Note:
- Not reproducible with Lighting Mode Subtractive
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.1):
Fixed in 2020.1.16f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.20f1