• 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
0
Question by thechosenone570 · Jun 16, 2018 at 08:14 PM · compiler errormetadata

Metadata file does not contain metadata

I don't know what's going on here. I was able to create an APK for Android. So, it should be easy to make it a Facebook/WebGL game too, right? Apparently not.

 error CS0009: Metadata file `C:\...\Library/FacebookSDK/CanvasJSSDKBindings.jslib' does not contain valid metadata

I don't know what to do with this. I tried deleting it and letting it rebuild. I tried deleting everything in the project (except assets) and let all of that rebuild. I'm using Facebook SDK version 7.12.2. I'm using Unity 2017.3.1f1.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Loncar · Jun 28, 2018 at 08:09 PM

Deleting folder [game path]\Library\FacebookSDK works for me. You need to verify there is not a file named CanvasJSSDKBindings.jslib in this location.

You must have the following files inside the folder:

  • Facebook.Unity.dll

  • Facebook.Unity.Gameroom.dll

  • Facebook.Unity.Settings.dll

  • FacebookNamedPipeClient.dll

  • ivy.xml

  • version.txt

The contents of ivy.xml must be:

 `<?xml version="1.0" encoding="utf-8"?>
 <ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
    <info organisation="Facebook" module="FacebookSDK" e:packageType="UnityExtension">
      <description>Facebook SDK</description>
    </info>
    <publications>
       <artifact name="Facebook.Unity" type="dll" ext="dll" e:guid="2403d1f95ea54028853403e595bc9274" />
       <artifact name="Facebook.Unity.Gameroom" type="dll" ext="dll" e:guid="063ad293d9fe40e18bde10bbc71df334" />
       <artifact name="Facebook.Unity.Settings" type="dll" ext="dll" e:guid="18b4dbf8a0b54ea4adf46fb7f4d71dd0" />
       <artifact name="FacebookNamedPipeClient" type="dll" ext="dll" e:guid="51288a4fc4384861a5b1f9dd49b3da26" />
    </publications>
 </ivy-module>`

I'm using Unity 2018.1.6f1 and Facebook SDK 7.13.0.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

84 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

So much compiler errors 2 Answers

,The associated script can not be loaded 1 Answer

What does the NodeInfo inside a metadata file do ? 0 Answers

How to change path that Visual Studio uses to find DLLs? 0 Answers

Compiler Errors 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges