Search Issue Tracker
Won't Fix
Votes
7
Found in
2020.3
2020.3.12f1
2021.1
Issue ID
1346761
Regression
No
[Android][Hybrid Renderer][Vulkan] Error SwappyVk: "Failed to wait for fence 2"
How to reproduce:
1. Download and open the user's project
2. Navigate to the Build folder in the Project window and select one of the Android build configurations (for ex. "Android-Client (Release)")
3. Click Build and Run in the Inspector
4. Open the Android Logcat (Window -> Analysis -> Android Logcat)
Expected result: The project runs well, there are no errors displayed in the Logcat
Actual result: The project runs mostly at ~8 FPS, multiple different errors appear, one of such is "Failed to wait for fence 2"
Reproducible with: 2020.3.16f1, 2021.1.17f1
Could not test with: 2019.4.29f1, 2021.2.0b7, 2022.1.0a5 (breaks after downgrade/upgrade)
Reproducible on:
VLNQA00099, Google Pixel XL (Pixel XL), Android 10, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530 (~8 FPS)
VLNQA00380, Xiaomi MI 8 Lite (MI 8 Lite), Android 9, CPU: Snapdragon 660, GPU: Adreno (TM) 512 (~8 FPS)
VLNQA00381, Xiaomi Redmi Note 8 Pro (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4 (~26 FPS)
Mi Note 2 (~10 FPS, according to the user)
Notes:
- Vulkan is being used, does not build correctly with OpenGLES3
- Mali device seems to be less affected by this, if possibly not at all
- Not reproducible in the Play Mode
Comments (1)
-
yhso
Jun 16, 2022 06:37
I have the same ISSUE. Android Device:"SwappyVK Failed to wait for fence2" And >1000ms eachframe
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
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
Resolution Note (2021.2.X):
Hard to reproduce and happens in third party library. User can disable Swappy and then they won't get the error - this is communicated on the Forum.