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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment