Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2018.2.0b8
Issue ID
1047167
Regression
Yes
Build fails on all platforms when Facebook support is installed
Build fails on all the platforms when Facebook support is installed
Steps to Repro:
1. Download and install Facebook support from Unity download assistant
2. Open attached or create a new project
3. File > build settings
4. Build
Actual Result:
1. Build fails, check the console for errors
2. Build fails on all platforms when Facebook support is installed
Note: During the Build process TextMesh Pro exceptions will be thrown. After fixing or removing TextMesh pro package will show the facebook related exceptions (similar to the stack trace attached)
Workaround:
1. Uninstall facebook support and create the build
Environment:
Only on Windows
Occurring with:
2018.2.0b8
Working with:
2018.3.0a1, 2018.2.0b7
Stack Trace:
Error 1:
ArgumentException: The Assembly UnityEngine is referenced by Facebook.Unity ('Library/FacebookSDK/Facebook.Unity.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:154)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:194)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error 2:
ArgumentException: The Assembly UnityEngine is referenced by UnityEngine.UI ('F:/v 2018/2018.2/2018.2.0b8_fed204371f5a/Editor/Data/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll'). But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:154)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:194)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “NullReferenceException” errors thrown after reimporting VFX package Learning Templates Sample
- Emojis with different skin tone options show incorrectly when "Multi Atlas Textures" is enabled in the Font Asset Properties
- Eyedropper Tool Shows Black Square UI Artifact on Cursor (Ubuntu)
- Some Emoji and Ligature sequences containing Variant Selectors are misinterpreted
- Errors “Render Graph Execution error” and "KeyNotFoundException" are thrown and Scene/Game views are not rendered when RenderGraphBuilder has AsyncCompute enabled
Add comment