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
- Crash on "The GUID inside 'Assets/asset.png.meta' cannot be extracted by the YAML Parser." when opening the project
- Shadows disappear when looking at a certain angle in Scene view and using Cloud Shadows with Volumetric Clouds
- StackOverflowException freezes or silently crashes the Editor
- Microsoft Surface Device freezes when detaching and reattaching physical keyboard attachment to a Microsoft Surface device in Standalone Player for Windows
- Shadows are cast with artifacts on GameObjects when the light type is set to Point
Add comment