Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
10
Found in
Issue ID
1304455
Regression
Yes
macOS builds no longer run when with a quarantine attribute due to incorrect codesigning
macOS builds no longer run when with a quarantine attribute due to incorrect codesigning
Repro Steps:
1. Download a mac editor (2021.1.x for instance)
2. Once downloaded, build a mac player
3. Move mac player to a different mac and try to run
Actual Result
A new error shows up (it started to happen around mi-December 2020 for me an a colleague) : "<Unity app> is damaged and can't be opened. You should move it to the Trash"
Expected Result
Before it started happening, another dialog was showing up and I could still open the app: "macOS cannot verify the developer of "<Unity app>. Are you sure you want to open it?"
Workarounds (you only need to apply one):
- After exporting the game on a path, resign the whole app bundle: "codesign --deep -s - -f path/to/game.app"
- Remove the quarantine attribute from the command line: "xattr -r -d com.apple.quarantine path/to/game.app"
- User an GUI app to strip the flag: xattred
Comments (25)
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
- "Draw Additional Lights Shadowmap" calls increase when custom MaterialBlockProperty is used
- Crash on _platform_memmove when importing the "Dragon Crashers - URP 2D Sample Project" to a new 2D project
- "Shader is not supported on this GPU" warnings and and shaders are not loading when building the project for non-Chromium browsers
- [iOS][URP] The screen flickers and the "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously
- Shortcut Manager shows empty conflict filter when resolving runtime conflicts involving different contexts
yuli_volta
Mar 18, 2021 23:33
Ditto - still getting this on 2020.3.0f1
pamelacook
Mar 13, 2021 09:40
I did the following workaround to successfully open the app files on my M1 computer.
Remove the quarantine attribute from the command line: "xattr -r -d com.apple.quarantine path/to/game.app"
pamelacook
Mar 13, 2021 00:56
It's not working. I added the requested information on my forum post.
https://forum.unity.com/threads/having-problems-after-upgrading-2019-4-apps-to-2020-2-to-run-on-m1-and-intel-computers.1074106/
ab_unity726
Mar 12, 2021 11:09
same here the bug still present in unity 2020.3
beevik_
Mar 12, 2021 00:43
The release notes for 2020.3.0f1 say this bug was fixed. (https://unity3d.com/unity/whats-new/2020.3.0)
But even after updating to 2020.3.0f1, I am still seeing this bug.