Search Issue Tracker
Fixed
Fixed in 2020.3.38f1, 2021.3.7f1, 2022.1.9f1, 2022.2.0b3, 2023.1.0a2
Votes
1
Found in
2020.3.23f1
2020.3.34f1
2021.3.3f1
2022.1.1f1
2022.2.0a14
2023.1.0a1
Issue ID
UUM-5547
Regression
Yes
[Mac][Metal] Player freezes when VSync is turned on with Button OnClick() event
How to reproduce:
1. Open the attached “Vsync.zip” project
2. Open the “SampleScene” Scene
3. Build And Run
4. In the Player click the gameObject “Button” (repeat 3 times if nothing happens after the first click)
Expected result: VSync turns on
Actual result: Player freezes
Reproducible with: 2020.3.23f1, 2020.3.34f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a14
Not reproducible with: 2019.4.39f1, 2020.3.22f1
Reproducible on: macOS 12.2.1 (Intel), macOS 12.4 Beta (M1)
Not reproducible on: Windows 10, Windows 11
Note: Player does not freeze if built with OpenGL 4.1 instead of Metal
Comments (3)
-
jeannette_yu
Aug 08, 2022 02:21
Sorry, the listed fix version was incorrect. This bug has been confirmed fixed in editor 2020.3.38f1.
-
BasicallyGames
Aug 06, 2022 23:23
This issue was not fixed in 2020.3.37. My game still crashes when changing Vsync on MacOS with Metal.
-
BasicallyGames
Jun 27, 2022 01:02
This bug is preventing me from releasing the latest version of my game on MacOS. I'm using Unity 2020 LTS. Really hoping it doesn't take much longer to bring the fix to LTS versions.
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
- Editor Menus text doesn’t update when Switching Editor language back to English
- "Atlas uncompressed. This can be caused by mismatch texture formats." is thrown when Paint Details is selected
- [Linux] Crash on g_type_check_instance_cast when creating a project
- Mouse events are ignored when holding another button down in the Play Mode
- Prefab children's Transform properties are not properly restored when redoing actions with Animation Preview turned on
Resolution Note (fix version 2023.1.0a2):
Switching vsync mode while in the player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed.
Resolution Note (fix version 2022.2.0b3):
Switching vsync mode while in the player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed.
Resolution Note (fix version 2022.1.9f1):
Switching vsync mode while in the player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed.
Resolution Note (fix version 2021.3.7f1):
Switching vsync mode while in the player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed.
Resolution Note (fix version 2020.3.38f1):
Switching vsync mode while in the player could sometimes cause a freeze due to the vsync status not syncing correctly before waiting on the frame present - this has been fixed.