I’ m trying to create a playable ad game for facebook. Haven’t finished yet but I wanted to check if everything were ok before continuing. Unfortunately when I upload the playable assets the preview shows just a black/grey screen without an error.
I tried to troubleshoot changing various stuff in the config.json but with no result.
My next step was to build the playable example
The result was the same.
Sizes for both apps are under 5mb for the zip file. (since I saw similar issue from someone)
Does anyone have an idea what is going on?
I’m attaching the config file in case someone can spot something amiss.
{
"playcanvas": {
"project_id": 1054444,
"name": "PlaybaleExample",
"scenes" : [1701187],
"branch_id": "d4c9722f-7415-4452-af12-5647aa4f2d83",
"description": "",
"preload_bundle": false,
"version": "",
"release_notes": "",
"scripts_concatenate": true,
"scripts_sourcemaps": false,
"scripts_minify": true,
"optimize_scene_format": false,
"engine_version": ""
},
"csp": {
"style-src": [
"'self'",
"'unsafe-inline'"
],
"connect-src": [
"'self'",
"blob:",
"data:",
"https://*.google-analytics.com"
],
"patch_preload_bundles": false
},
"one_page": {
"patch_xhr_out": false,
"inline_game_scripts": true,
"extern_files": {
"enabled": true,
"folder_name": "",
"external_url_prefix": ""
},
"mraid_support": false,
"snapchat_cta": false,
"compress_engine": true
}
}
and my project link
Last, but not least. Awesome engine. Great job, to anyone involved.
EDIT: I also tried the playcanvas builds in an Ironsource playable ad just to verify that it isn’t a facebook thing. I get the same issue there also. Weird thing is that they play just fine if I open them in the browser, locally.