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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Add comment