actors doesn't show only on android

koopke

  • Posts: 51
Hi guys,

I'm trying to use actors as background (so basically their size is bigger than the scene size).
The thing is when I'm running the game on flash everything works fine but when I'm trying running it on android those "background" actors doesn't show...
anyone has an idea what went wrong?

Things I already checked:

*actors are set to "always active"
*I did some printing to checks to see if actor is created and it looks like everything fine.
*it happens on every scaling method I use.


P.S
It happened before on old game I've done but only on some specific devices , couldn't solve it back than...looks like the same issue  :(

10x


TheIndieStation

  • *
  • Posts: 2263
Just wondering but why do you have a background actor? Perhaps we can create you a different solution =)

koopke

  • Posts: 51
It reacts with the game,
moving , slide in and out from the side etc'

I believe actors is the easiest way to do it.


merrak

  • *
  • Posts: 2644
I've had issues with disappearing backgrounds before. I haven't confirmed it, but I suspect one cause could be memory. Try making a version with only 1x resolution. If that solves the problem, then you have the culprit and you can work your way back up to better resolutions, or find a way to reduce the size of the images.

koopke

  • Posts: 51
merrak-  surprisingly it worked! 

so now I need to find a way handle this memory problem
I didn't even think in that direction 
 
thanks anyway  :-)

CanadianHobo

  • Posts: 24
My game works on flash and my brother's android. 
I bought my brother's phone for beta-testing so memory might be the problem (Google Play Console says it is compatible).  On my beta phone, I only see three white dots, but the background and sound is running. 

I will try the Atlas thing and see if it applies to all with the same problems (works on Flash; everything else works except actors is a memory problem)

Sony Xperia Z1 C6603:

Quad-core 1.5 GHz Krait
2GB RAM
Adreno 320

Sony Xperia M5:

Octa-core 2.0 GHz Cortex-A53
3GB RAM
PowerVR G6200