Build Failed - Unable to download plugin.

Hi Guys,

I am not able to build anymore. Since yesterday I am getting this error on all my projects.

Build Failed

Unable to download plugin**. Make sure that the plugin is available **** for **** this platform and that your machine has Internet access.**

Plugin: CoronaProvider.ads.vungle

This is not only related to the Vungle plugin but to all our plugins like Playfab and others.

We will look into this. We had a similar issue yesterday but fixed it. Do you have the full build error with the build ID?

Rob

This does not appear to be an issue on our servers. It’s different than what was happening yesterday.

Can you provide some information regarding your setup?

What version of Corona SDK are  you running?

Can you post your build.settings file?

Can you copy/paste the entire build log from the Corona Console window that pops up behind your simulator?

Thanks

Rob

Hi Rob,

I just notice this on the console when running my application. I guess it’s related to the issue.
 

WARNING: issue found in /Users/andreMarin/Desktop/DR-06/build.settings: 

WARNING: unrecognized key: settings.iphone.plist.UIFileSharingEnabled (boolean)

WARNING: deprecated key: settings.iphone.plist.UIAppFonts[] (string)

This is the error on the console when building the app.
Building osx app for prodigiousworks@me.com with 2016.2992

Archive:  /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.zip.zip

  inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpzfVh86-plugins/plugin_zip.dylib  

Archive:  /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.advertisingId.zip

  inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpzfVh86-plugins/plugin_advertisingId.lua  

RequestUnzipPlugins: failed to download plugin: {

  “clientCatalogKey”:“com.vungle/CoronaProvider.ads.vungle”,

  “isSupportedOnThisPlatform”:true,

  “pluginName”:“CoronaProvider.ads.vungle”,

  “publisherId”:“com.vungle”

}

And here is a link to my  build.settings file: https://www.dropbox.com/s/fx2mxmmo84lcjzb/build.settings?dl=0

Okay in that case, if you’re building for macOS, Vungle isn’t available for that. You need to add a supportedPlatforms line:

supportedPlatforms = { iphone=true, android=true  }

to the plugin definition.

Rob

Hi Rob,

Thanks a lot! This solved the issue for Vungle. Now I am getting the same error for playfab. Shouldn’t playfab be available for macOS?

I tried to add this

supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }

but it did not make any difference.

PlayFab is a pure lua plugin so it should work everywhere.

Can you copy/paste the entire error and content before it throws the error from your console log?

Hi,

Sure, here is the entire error and content before on the console log.

WARNING: issue found in /Users/andreMarin/Desktop/DR-06/build.settings: 

WARNING: unrecognized key: settings.iphone.plist.UIFileSharingEnabled (boolean)

WARNING: deprecated key: settings.iphone.plist.UIAppFonts[] (string)

Copyright © 2009-2016  C o r o n a   L a b s   I n c .

Version: 3.0.0

Build: 2016.2992

Loading project from:   ~/Desktop/DR-06

Project sandbox folder: ~/Library/Application Support/Corona Simulator/DR-06-AB68BCDB3A199FA990922CA9C4A127B3

Platform: GenericAndroidDevice / x86_64 / 10.12.1 / AMD Radeon R9 M290X OpenGL Engine / 2.1 ATI-1.46.22 / 2016.2992 / de-DE | DE | de_DE | de

1.75 SCALE

File found: data01.json

WARNING: the file (assets/images/player/world/body/2_1.png) could not be found at case-sensitive path (/Users/andreMarin/Desktop/DR-06/assets/images/player/world/body/2_1.png)

WARNING: found filename with different case: /Users/andreMarin/Desktop/DR-06/assets/images/player/world/body/2_1.PNG

World Size X: 31

World Size Y: 26

Levels: 1

Reference Layer: 1

WARNING(detectSpriteLayers): No Sprite Layers Found. Defaulting to all map layers.

Building osx app for andre.m@game-matter.com with 2016.2992

Archive:  /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.zip.zip

  inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpicLOEl-plugins/plugin_zip.dylib  

Archive:  /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.advertisingId.zip

  inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpicLOEl-plugins/plugin_advertisingId.lua  

RequestUnzipPlugins: failed to download plugin: {

  “clientCatalogKey”:“com.playfab/plugin.playfab.client”,

  “isSupportedOnThisPlatform”:true,

  “pluginName”:“plugin.playfab.client”,

  “publisherId”:"com.playfab"

}

I am also having problems with PlayFab. I am trying to use it for the first time, and I understood that the plugin files should be downloaded automatically. I have added the plugin in build.settings, and “require” seems to be the problem. I can build  but when I run the code it gives me this error:

04:24:00.602 ERROR: Runtime error
04:24:00.602 module ‘plugin_playfab_client’ not found:
04:24:00.602 no field package.preload[‘plugin_playfab_client’]
04:24:00.602 no file ‘C:\Users\Juha\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_playfab_client.lua’
04:24:00.602 no file ‘C:\Users\Juha\Documents\PlayFabTestExample\plugin_playfab_client.lua’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_playfab_client.lua’
04:24:00.602 no file ‘.\plugin_playfab_client.lua’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_playfab_client.lua’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\lua\plugin_playfab_client\init.lua’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_playfab_client.lua’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_playfab_client\init.lua’
04:24:00.602 no file ‘C:\Users\Juha\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_playfab_client.dll’
04:24:00.602 no file ‘.\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_playfab_client.dll’
04:24:00.602 no file ‘.\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
04:24:00.602 no file ‘C:\Users\Juha\AppData\Roaming\Corona Labs\Corona Simulator\Plugins\plugin_playfab_client.dll’
04:24:00.602 no file ‘.\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\Resources\plugin_playfab_client.dll’
04:24:00.602 no file ‘.\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\plugin_playfab_client.dll’
04:24:00.602 no file ‘C:\Program Files (x86)\Corona Labs\Corona SDK\loadall.dll’
04:24:00.602 stack traceback:
04:24:00.602 [C]: in function ‘require’
04:24:00.602 ?: in function ‘require’
04:24:00.602 C:\Users\Juha\Documents\PlayFabTestExample\main.lua:10: in main chunk

What platform are you building for?

What version of Corona SDK are you using?

Rob

In my case, I am building for Mac OS and is using the latest version of Corona SDK. Version 2016.2992 (2016.11.10)

The iOS build worlks fine and can be builded withtou a problem.

Actually we identified a problem with macOS builds yesterday and Lua plugins. A fix should be coming in a daily build soon. 

But @jjuha.o appears to be on Windows, so macOS builds are not in effect in that case.

Rob

Any possibility this is a related issue

I/Corona  ( 4022): WARNING: Could not load 'plugin.notifications.LuaLoader'

Using 2016.2997 on Windows.

Error shows on Android 4.4.4, above is from logcat.

Corona simulator 2016.2992 for Windows. I am building for android. The build does succeed, but when I run the PlayFabTestExample project on Corona simulator I get a Corona runtime error with a message described above. Since I am using the PlayFabTestExample, I believe that the build.settings is correct also. I did try to set it up in my own project but that did not work either.

Seems to me that for some reason the plugin files needed are not downloaded to my computer.

@Rob

yes @juha.o

the plugin files needed cannot be downloaded to my computer, even for the newest daily build 3022.

all the plugin files required was previously download to ~Library/Application Support/Corona/Simulator/Plugins/. If I remove this “Plugins” folder, the PlayFab plugin cannot be run anymore, with following messages

module 'plugin\_playfab\_client' not found:no field package.preload['plugin\_playfab\_client'] no file '/Users/xxx/Library/Application Support/Corona/Simulator/Plugins/plugin\_playfab\_client.lua' no file '/Users/xxx/Desktop/NJ Projects/MM/plugin\_playfab\_client.lua' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_playfab\_client.lua' no file '/Users/xxx/Library/Application Support/Corona/Simulator/Plugins/plugin\_playfab\_client.dylib' no file './plugin\_playfab\_client.dylib' no file '/Applications/CoronaSDK/Corona Simulator.app/Contents/Resources/plugin\_playfab\_client.dylib'

The problem is I had not downloaded the plugin files for Mac build before, therefore Mac build cannot be proceeded without the required plugin files.

Can everyone try again and let me know the results.

Thanks

Rob

Hi,

Unfortunately, nothing changed.
This happened with the last daily build:

​WARNING: issue found in /Users/andreMarin/Desktop/Game-Editor/build.settings: 

WARNING: unrecognized key: settings.iphone.NSAppTransportSecurity.NSAllowsArbitraryLoads (boolean)

Jan. 13 14:02:34.705: 

Copyright © 2009-2017  C o r o n a   L a b s   I n c .

Jan. 13 14:02:34.705: Version: 3.0.0

Jan. 13 14:02:34.705: Build: 2017.3023

Jan. 13 14:02:34.721: Loading project from:   ~/Desktop/Game-Editor

Jan. 13 14:02:34.721: Project sandbox folder: ~/Library/Application Support/Corona Simulator/Game-Editor-FEC05231028CD0C0F68A2A96D0E5D555

Jan. 13 14:02:34.740: Platform: iPhone / x86_64 / 10.12.2 / AMD Radeon R9 M290X OpenGL Engine / 2.1 ATI-1.48.16 / 2017.3023 / de-DE | DE | de_DE | de

Jan. 13 14:02:35.924: version 6.0

Jan. 13 14:02:36.800: Login Success!

Jan. 13 14:02:42.747: Building osx app for nope@not.com with 2017.3023

Jan. 13 14:02:43.045: Using custom build id from app bundle: 00000 (AppSettings.lua)

2017-01-13 14:02:43.045 Corona Simulator[11496:643531] logEvent: key: target

Archive:  /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.zip.zip

  inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpGDKFks-plugins/plugin_zip.dylib  

Jan. 13 14:02:43.061: RequestUnzipPlugins: failed to download plugin: {

  “clientCatalogKey”:“com.playfab/plugin.playfab.combo”,

  “isSupportedOnThisPlatform”:true,

  “pluginName”:“plugin.playfab.combo”,

  “publisherId”:“com.playfab”

}

2017-01-13 14:02:43.296 Corona Simulator[11496:643531] logEvent: key: target

2017-01-13 14:02:43.296 Corona Simulator[11496:643531] logEvent: key: reason

We need to make sure we are all talking about the same build problems.

If you are building for macOS (OS X), please update to 3022 or later and try again.

Please note when you post these issues:

  1. What version of Corona are  you using?

  2. What platform are you building on (Mac, Windows)

  3. What platform are you building for (iOS, Android, macOS, Windows, etc.)

  4. Copy/Paste the complete error message from the console log window that Corona pops up.

  5. Is it an every time fail or a sporadic fail

Thanks

Rob

  1. 3022

  2. Building on Mac

  3. Bbuilding for macOS

Building osx app for andre.m@game-matter.com with 2017.3022 Using custom build id from app bundle: 00000 (AppSettings.lua) 2017-01-14 18:25:29.611 Corona Simulator[2458:113285] logEvent: key: target Archive: /Users/andreMarin/Library/Application Support/Corona/Simulator/Plugins/plugin.zip.zip inflating: /var/folders/38/yqbfm4ks1js4288zgn27c55h0000gn/T/CLtmpWtJyG0-plugins/plugin\_zip.dylib RequestUnzipPlugins: failed to download plugin: { "clientCatalogKey":"com.playfab/plugin.playfab.combo", "isSupportedOnThisPlatform":true, "pluginName":"plugin.playfab.combo", "publisherId":"com.playfab" } 2017-01-14 18:25:29.884 Corona Simulator[2458:113285] logEvent: key: target 2017-01-14 18:25:29.884 Corona Simulator[2458:113285] logEvent: key: reason
  1. Is it an every time fail.

We are still working on solving the issue with plugins and macOS builds.

Rob