Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Gwom · Apr 07, 2017 at 06:46 AM · androidiosbuildfacebook

CloudBuild Facebook SDK issue not on device - issue with looking for .dll in Library folder

I have been searching and trying for two days to fix this now. I have a game that works on iOS and Android. It was working fine in cloud build until i installed the Facebook SDK (v7.9.4). See here for a similar post: https://forum.unity3d.com/threads/facebook-sdk-problem.446968/

Basically, i get this from cloud build:

 1: ! platform service error: connect timeout reached
 2: [Unity] Initialize engine version: 5.6.0f3 (497a0f351392)
 3: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll
 4: [Unity] Compilation failed: 1 error(s), 0 warnings
 5: [Unity] error CS1704: An assembly with the same name `Facebook.Unity.Settings' has already been imported. Consider removing one of the references or sign the assembly
 6: [Unity] Library/FacebookSDK/Facebook.Unity.Settings.dll (Location of the symbol related to previous error)
 7: [Unity] Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll (Location of the symbol related to previous error)
 8: [Unity] error CS1704: An assembly with the same name `Facebook.Unity.Settings' has already been imported. Consider removing one of the references or sign the assembly
 9: [Unity] Library/FacebookSDK/Facebook.Unity.Settings.dll (Location of the symbol related to previous error)
 10: [Unity] Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll (Location of the symbol related to previous error)

Why is it searching in the library folder for anything (i ignore it in my source control)?

Would be amazing if someone could help, i have tried everything (reinstalling, checking locally - both builds work on device, not using library cache on cloud build) and need Facebook login support in my app.

Thanks!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gwom · Apr 07, 2017 at 10:14 AM 0
Share

Anyone know how to fix this? I have also added another plugin (OneSignal) and am now getting more issues with it. Not sure if it is related:

77: [Unity] System.IO.FileNotFoundException: Could not find file "/UNITY_PATH/Unity/Unity-5_6_0f3/Unity.app/Contents/$$anonymous$$ono/lib/mono/2.0/System.xml.dll". 78: [Unity] Assets/Scripts/Guide.cs(80,24): warning CS0618: UnityEngine.LineRenderer.numPositions' is obsolete: Use positionCount property (UnityUpgradable) -> positionCount' 79: [Unity] Assets/Scripts/Guide.cs(99,32): warning CS0618: UnityEngine.LineRenderer.numPositions' is obsolete: Use positionCount property (UnityUpgradable) -> positionCount' 80: [Unity] Assets/Scripts/Guide.cs(80,24): warning CS0618: UnityEngine.LineRenderer.numPositions' is obsolete: Use positionCount property (UnityUpgradable) -> positionCount' 81: [Unity] Assets/Scripts/Guide.cs(99,32): warning CS0618: UnityEngine.LineRenderer.numPositions' is obsolete: Use positionCount property (UnityUpgradable) -> positionCount' 82: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-Editor.dll 83: [Unity] Compilation failed: 2 error(s), 0 warnings 84: [Unity] Assets/OneSignal/Editor/OneSignalEditorScript.cs(32,7): error CS0246: The type or namespace name Google' could not be found. Are you missing an assembly reference? 85: [Unity] Assets/OneSignal/Editor/OneSignalEditorScript.cs(39,18): error CS0246: The type or namespace name PlayServicesSupport' could not be found. Are you missing an assembly reference? 86: [Unity] Assets/OneSignal/Editor/OneSignalEditorScript.cs(32,7): error CS0246: The type or namespace name Google' could not be found. Are you missing an assembly reference? 87: [Unity] Assets/OneSignal/Editor/OneSignalEditorScript.cs(39,18): error CS0246: The type or namespace name PlayServicesSupport' could not be found. Are you missing an assembly reference? 88: [Unity] Error building Player because scripts had compiler errors

avatar image Gwom · Apr 10, 2017 at 08:16 AM 0
Share

Still having issues with this, anyone know a fix?

avatar image peter_planeto · May 17, 2017 at 08:02 PM 0
Share

Still happens in 5.6.1f1 :(

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by YarivAtias · May 25, 2017 at 02:57 PM

These steps fix the problem for me: 1. delete 'Facebbk' from 'Unity\Editor\Data\PlaybackEngines' 2. Remove the FacebookSDK folder in your project's Library folder 3. build again..

When I deleted Facebook folder from Unity\Editor\Data\PlaybackEngines, then unity did not created the file 'Library/FacebookSDK/Facebook.Unity.Settings.dll'. Actually it did not created any file related to 'Facebook' i Library folder.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Keyjale · Aug 02, 2017 at 09:18 PM 0
Share

Thanks, that helped me!

avatar image OsamaBigWolf · Sep 20, 2017 at 08:48 AM 0
Share

using unity 5.6.1f1 I cannot find library/facebooksdk.. folder in my project

avatar image
1

Answer by Raphael-Jeongho-Eom · Aug 24, 2017 at 01:44 AM

In my case, the error is disappeared after I close the editor and open it again. On both 5.6.3f1. and 2017.1.0f3.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Geezerz · Sep 11, 2017 at 07:37 PM

Go to this location Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll via the 'Project' window and delete Facebook.Unity.Settings.dll file . That's what i did and it seem to run after that.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by peter_planeto · May 18, 2017 at 07:31 AM

Still happens in 5.6.1f1 :(

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image OsamaBigWolf · Sep 20, 2017 at 11:28 AM 0
Share

Add updated 'PlayServiceResolver' from https://github.com/googlesamples/unity-jar-resolver then run Assets/PlayServicesResolvers/AndriodResolver/Resolver ,now build from cloud it will work.

avatar image
0

Answer by dujin · Jan 12, 2018 at 07:00 AM

In my case,


  1. When Import Facebook SDK, remove away Assets/FacebookSDK/Plugins/Settings/Facebook.Unity.Settings.dll


  2. After Import, relocate Settings.dll


  3. Edit->Project Settings->Player (Here Disappear Error)


  4. Facebook->Edit Settings-> Put App ID


Unity Version 2010.3.0f3 Facebook SDK Version 7.10.1

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why the feed stories of my facebook game attempt to open the canvas instead of launch the Android/iOS mobile application? 1 Answer

Build stripping and scenes in Asset Bundles 1 Answer

Play web game through mobile device 1 Answer

Distribute terrain in zones 3 Answers

Facebook - Is it possible to logout other active sessions? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges