Crash on caching chartboost reward ad.

Hi there!

I’m getting a crash when running the chartboost plugin – just after attempting to cache a rewarded video. Can anyone (ingemar?) tell me what’s happening here, or what appears to be going wrong inside the plugin? 

Here’s the crash report:

http://pastebin.com/kjvUmr3s

Here’s the readout from xCode’s devices panel, containing the crash:

http://pastebin.com/92zVrW59

Basically, in code, the crash happens when I call chartboost.cache, on line 167:

http://pastebin.com/qGML23Lg

I know that the values input for this function (kind and location) are valid because I verify them before then in the same function – if they’re nil or not strings, I set them as strings. So I don’t know what could be causing the crash. I’m using one of the newest corona daily builds, Version 2015.2695 (2015.8.13). I know this is the line that’s crashing it, because it prints the line before this, but not the line after.

I can’t get it to happen in the demo code – so I know it must be something in my code that is causing it, but I don’t know why. Any chance any of you know what’s wrong?

Thanks!

Simon

Did this ever get resolved?

We’re trying to submit right now and we’re coming across what appears to be the same issue.

We are caching a reward video and then shortly after the entire app crashes, and in some cases, never recovers, even after restarting.

This app is already live on the store, so we have a fully functioning version. This crash is new to our code and has been isolated to Chartboost reward videos.

Hey! 

I did not solve it – someone else in my office did, and I’m now on vacation.

I believe it was because of coroutines – the chartboost plugin seems to act strangely when used in them. Seemed like the problem only started showing up when we were trying to cache and maybe show something once it was cached. Maybe that will help? Sorry I don’t know more.

Relevant XKCD

https://xkcd.com/979/

S

The XKCD is sooooo spot on.

Ahahaha.

Darn I wish there was more you knew about the solution. We’re simply caching the video and then playing it waaaaay later, but the caching is definitely the culprit. It just freaks out and hiccups like crazy, sometimes crashing altogether.

Sorry, man. Actually, having pulled and looked to see what their solution was, it looks like we nope’d out of chartboost rewarded videos, and are just using Fuse instead.

Did this ever get resolved?

We’re trying to submit right now and we’re coming across what appears to be the same issue.

We are caching a reward video and then shortly after the entire app crashes, and in some cases, never recovers, even after restarting.

This app is already live on the store, so we have a fully functioning version. This crash is new to our code and has been isolated to Chartboost reward videos.

Hey! 

I did not solve it – someone else in my office did, and I’m now on vacation.

I believe it was because of coroutines – the chartboost plugin seems to act strangely when used in them. Seemed like the problem only started showing up when we were trying to cache and maybe show something once it was cached. Maybe that will help? Sorry I don’t know more.

Relevant XKCD

https://xkcd.com/979/

S

The XKCD is sooooo spot on.

Ahahaha.

Darn I wish there was more you knew about the solution. We’re simply caching the video and then playing it waaaaay later, but the caching is definitely the culprit. It just freaks out and hiccups like crazy, sometimes crashing altogether.

Sorry, man. Actually, having pulled and looked to see what their solution was, it looks like we nope’d out of chartboost rewarded videos, and are just using Fuse instead.