Galaxy S21 compatibility???

2wasted2

  • Posts: 43
Hello all, does anybody know if there are problems with Stencyl and the newer model S21???

My games seem to not test on this device, everything compiles but when the game is sent and loads it goes black and crashes.
When I plug my older devices in it works, so very strange.
I have attached logs although probably wont help as it sends fine.

anyway any help is very much appreciated.

Cheers
Michael

 

TF101

  • *
  • Posts: 85
Unfortunately, I am not a professional.  But I was able to solve my problem (http://community.stencyl.com/index.php/topic,61638.0.html)

In my case, the problem was the scaling.  My menu was too big for the settings full screen (scale to fit). I split the menu in two scenes.

Maybe you test it on you S21 with the settings of "No scaling" to see if the Scaling is the Problem?

Thomas

2wasted2

  • Posts: 43
Hi thanks for the reply.
Unfortunately it didn't work, although it maybe something to do with  scaling because instead of crashing and closing it just stays as a black screen when changed to "No Scaling"

If an expert could help I would be grateful.

Many Thanks
Michael

P.s glad your sorted your game, is it back on playstore now with the changes. I will try if so

FMStudioGameDev

  • *
  • Posts: 233
Which Android version is your Galaxy S21 running? Much probably your new phone has Android 11 while the older one still have Android 10 or older. If so, maybe some extension needs to be updated or Stencyl itself may have some issue on A11

2wasted2

  • Posts: 43
Yes the S21 is using android 11 unable to check my S9 because I actually just got rid of it this morning lol
My tablet "S5" is using android 10 so could be something to do with it...

Any suggestions???
Thanks for the reply... very much appreciated

2wasted2

  • Posts: 43
No feedback from anybody with this issue then???
I've tried many things and nothing seems to work, I'm starting to think there is obviously a problem with Stencyl and newer devices.
Unfortunately it's beyond my understanding, would be very grateful for any experts to chim in.  :)

Thanks in advance
Cheers
Michael

Luyren

  • *
  • Posts: 2806
Does the crashing happens when you test with a blank game (only one scene, nothing else)?
You mentioned in a previous post that when you set to "No Scaling" you just get a blank screen. Can you confirm that the game is actually running behind that? Probably the best option is to have your game play a sound periodically so you can have a feedback that it is still executing code.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

2wasted2

  • Posts: 43
Ok so I did more tests and added sound to the 1st scene to see if the game is actually running and yes it is...
I can hear the sound so it is running but sadly no matter what scaling I use it is just a blank screen including if I use "No scaling"
But as explained if I plug an older android in it works fine.
So I'm assuming there is an issue with the S21 and Stencyl  :o

Once again anymore feedback would be great.

Thanks
Michael

Luyren

  • *
  • Posts: 2806
Under Settings > Mobile > Versions, do you have your game set to API 30 - Android 11? I don't know if this could be it, I'm grasping at straws here. ​If anything this could be related to the Android version instead of the actual device.
You didn't confirm if this happens in a blank game (one scene and nothing else), so it would help narrow it down if you could test that.

In any case, we might be getting a new private build soon, so once that drops the dev team might be able to take a closer look at this.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

cgilbertson

  • Posts: 31
My games crash for Android devices as well. I can't figure out why.

Pasting a crash report someone sent me below.

Thanks,
Chase

Crash: Samsung Galaxy S10 - Android 11 (SDK 30)

java.lang.SecurityException:
  at android.os.Parcel.createExceptionOrNull (Parcel.java:2385)
  at android.os.Parcel.createException (Parcel.java:2369)
  at android.os.Parcel.readException (Parcel.java:2352)
  at android.os.Parcel.readException (Parcel.java:2294)
  at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber (ITelephony.java:8762)
  at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:3706)
  at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:3670)
  at com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged (ConnectivityMonitor.java:162)
  at com.unity3d.services.core.connectivity.ConnectivityNetworkCallback.onCapabilitiesChanged (ConnectivityNetworkCallback.java:48)
  at android.net.ConnectivityManager$NetworkCallback.onAvailable (ConnectivityManager.java:3793)
  at android.net.ConnectivityManager$CallbackHandler.handleMessage (ConnectivityManager.java:4073)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:246)
  at android.os.HandlerThread.run (HandlerThread.java:67)

« Last Edit: April 13, 2021, 01:49:29 pm by cgilbertson »

HopFrog

  • Posts: 49
My android games are now loading as a black screens as well (S10e).

I installed them some time ago (they worked fine at the time), and now when I try to play them, I get the back screen (except for one game that still works fine for some reason).

Now all games I install don't work, even a blank game- but all those same games work fine when I install them on an earlier device (Galaxy A5).

So it’s something about my newer phone that makes previously working games load as black screens.

Hope this gives some clues.

Thanks!

Luyren

  • *
  • Posts: 2806
Checking the Stencylpedia, there's an Android Device Monitor option you can use, located in Debug > Android > Launch Device Monitor in the top menu. I don't know how that looks or what kind of information it provides. Regardless, checking that when you test the game might provide some extra information regarding the black screens.

@HopFrog is your device also running Android 11?
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

HopFrog

  • Posts: 49
@Luyren yes it is running Android 11.  Oddly, I noticed, about at the same time, that the device manager does not launch any more.  I reinstalled Android tools, but I still can't get it loaded.

FMStudioGameDev

  • *
  • Posts: 233
This is something happening on Android 11 device with the newest Stencyl versions, black screen with audio and crash when switching scene. Justin is already aware of this, we tried debugging while I had a phone running A11 but unfortunately we was not able to get a decent crash report. Then I had to return the phone so I reverted back to an older Stencyl version (build10616) that doesn't have this issue (but needs to get this patch -> http://community.stencyl.com/index.php?issue=1969.0)
Now that more people has an Android 11 device, it should be easier to restrict the issue and solve it.
You could ping Justin on Discord and see if you can retrieve a readable crash report.

HopFrog

  • Posts: 49
@FMStudioGameDev thanks for the info.