Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2020.3
2021.1
2021.1.15f1
2021.2
2022.1
Issue ID
1360646
Regression
Yes
[Mac] Build throws an error when a native plugin .bundle file does not contain info.plist file
Reproduction steps:
1. Open the attached project "BundleSigningTest.zip"
2. Go to File > Build settings
3. Build and Run the project
Expected result: No errors are thrown in the Console window
Actual result: Error is thrown in the Console window
Reproducible with: 2020.3.0f1, 2020.3.17f1, 2021.1.17f1, 2021.2.0b9, 2022.1.0a6
Not reproducible with: 2019.4.19f1, 2020.2.7f1
Notes:
- Unity 2020.3 is built using Xcode 12, and Xcode 12 adds new signing requirements with the introduction of Apple Silicon devices. Unity signs your built app so that macOS doesn’t complain about invalid signatures
- Original error: "Could not find a plist file at '/Users/name/Desktop/1360646_BundleSigningTest (1) 4/Temp/StagingArea/test1.app/Contents/PlugIns/AkSoundEngineX.bundle/Contents/Info.plist'.
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()"
- On Unity versions 2021.2.0b9, 2022.1.0a6 another error is thrown if "FixMissingPlists" script is not enabled: "Building test123.app/Contents/PlugIns/AkSoundEngineX.bundle/Contents/MacOS/AkSoundEngineX failed with output:
Failed because this command failed to write the following output files:
test123.app/Contents/PlugIns/AkSoundEngineX.bundle/Contents/_CodeSignature/CodeResources
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)"
-
Robin_Moss
May 13, 2022 12:35
We are seeing the failed to write CodeResources error on Unity 2021.3.2f1, in the notes above it mentions it's resolved by enabling `FixMissingPlists` script but there is no context to what that is or how to enable it.
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
- Text is rendered with a different font when the "FallbackBoldItalic" font is selected
- UI does not display until editor refresh if assign Source Asset before Panel Settings to UI Document component
- [Android] [Render Texture] The last created render texture is rendered black when an application is deployed on Androids with PowerVR GPU's
- Inconsistent and incorrect scrolling with trackpad gesture in UXML Preview when there is no vertical scrollbar
- Light is not visible when Rendering Path is set to 'Deferred' and Shadowmask is used
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b15
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.24f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.20f1