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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
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