Crashes on Amazon Kindle

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

creat326
Posts: 87
Joined: 13 Jun 2010, 09:50

Crashes on Amazon Kindle

Postby creat326 » 22 Sep 2016, 10:31

Hi

I have the latest Amazon Fire (not the one released yesterday, the latest up to yesterday... generation 7 is it?) and run my game using Unity 5.4 and latest smartfox client dlls.
Well, Smartfox seems to work fine in all devices except Amazon Fire. The problem happens only when you disconnect or lose connection.

A simple Smartfox.Disconnect() or just getting disconnected for whatever reason, makes the app crash.

This is annoying as hell because when a game is over they usually disconnect and connect to a new game. Or if their connection on 3g is bad and they get disconnected... anything that does a smartfox disconnect, will crash the app and bring it to home screen.

Any ideas?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Crashes on Amazon Kindle

Postby Lapo » 22 Sep 2016, 13:33

Hi,
unfortunately no. I remember Unity had a similar issue with the WebPlayer years ago where a disconnection would crash only certain browsers. It had mainly to do with low-level Unity API. Maybe it's not even Unity's fault this time but something in the Mono runtime which they distribute. It's very difficult to say without further details.

We have tested the API under Android and no such problem has ever appeared. With this said, can you show us the full stack trace of the error? It may still suggest where the problem is happening.

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
creat326
Posts: 87
Joined: 13 Jun 2010, 09:50

Re: Crashes on Amazon Kindle

Postby creat326 » 22 Sep 2016, 15:03

that's the funny thing, there is no stacktrace, nothing... not even on debug mode. It just kills the app and you get a WIN_DEATH message on the logcat, with no other info whatsoever.

Do you guys have a kindle fire at hand?
creat326
Posts: 87
Joined: 13 Jun 2010, 09:50

Re: Crashes on Amazon Kindle

Postby creat326 » 24 Sep 2016, 09:41

is that a no? :(
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Crashes on Amazon Kindle

Postby Lapo » 25 Sep 2016, 15:36

Sorry no :(
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 25 guests