Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity Facebook SDK WebGL Building issue?

Discussion in 'Editor & General Support' started by Grebenicharska, Jan 26, 2017.

  1. Grebenicharska

    Grebenicharska

    Joined:
    Apr 5, 2016
    Posts:
    4
    Hello everyone,
    I want to make Facebook Canvas Game, I have made the game using Unity and installed Facebook SDK on it.
    When I try to build it as WebGL to save it in a particular folder, after that I found that the folder is empty! I tried to build and run and the browser appeared showing error 404 and the folder still empty!
    I tried to make another project without installing on it Facebook SDK and when I build it as WebGL everything works fine! So probably the problem is the SDK. If somene can help me I will be very happy! Thank you!
     
    Last edited: Jan 26, 2017
  2. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    30
    @greb
    Were you able to solve this issue? Im experiencing the same problem at the moment.
     
  3. JACLEMGO

    JACLEMGO

    Joined:
    May 30, 2013
    Posts:
    30
    Solution was to change the link.xml file:
    ...
    <assembly fullname="Facebook.Unity.Android" ignoreIfMissing="1">
    <type fullname="Facebook.Unity.Android.*" preserve="all" />
    </assembly>
    ...