Sign in to follow this  
Dharasis

Babylon not rendering scene for Facebook Instant Game

Recommended Posts

Hello,

I am stuck while developing a game for Facebook instant Game using Babylon.These are steps i followed to create a sample game using Babylon:

1.I used Babylon toolkit for Unity http://doc.babylonjs.com/resources/intro to make a sample game.

2.I exported to create a Babylon scene build.

3.Added all the scripts & functions required to make it viable for Facebook instant Game's environment. Ref:https://doc.babylonjs.com/resources/babylonjs_and_instant_games

After it was hosted in Facebook Instant game, i checked it in messenger where i am not able to view the scene.Further i investigated more and found that there is a problem in scene rendering.

Have anyone faced this issue earlier?

 Please help!!

Share this post


Link to post
Share on other sites

Can you remove the import to Font Awesome and Google font and try again ? Facebook doesn't like external imports...

Edit : Is it possible for you to send me a zip containing your Instant Game project ? It will be easier for me to test it. Thanks !

Share this post


Link to post
Share on other sites

I changed the babylon.js it worked..Thanks..
But i am stuck into another problem!! I do not have any idea how to link a component(script) for a game object..If i proceed in the way how Unity works(by attaching a c# file), i am not able to see the changes in webpage , that i have done on script..I am not able to find any solution from google or any of the babylon's documentation.

Please help!!

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.