Topic: Maps loose their tiles and turn grey on certain Androids

Hi,

We are using online maps for an AR project. It works flawlessly on iOS and causes no issues.

However, on Android we have encountered a number of issues, where the maps suddenly looses all tiles and turn grey. It seems to be most prevalent on Samsung and Google phones.

It often happens in relation to starting and stopping the ARCamera. Often when the ARCamera is enabled, and always when it is disabled (and we return to map view.)

Is this anything anyone have experienced before and have any suggestions on how to solve? There are no errors in the log that we can see.

Re: Maps loose their tiles and turn grey on certain Androids

Hi.

This is the first report of a problem like this, and honestly, I don't know what it could be related to.
It looks like someone unloaded the textures.
Who and why I can't say, because it will be known only after debugging.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Maps loose their tiles and turn grey on certain Androids

We did some further probing of this issue now and found the culprit - something with using ARFoundation + Occlusion causes this to happen on Android devices. It’s pretty strange, and we have no idea how it could happen really, but removing Occlusion solves the issue. Almost like if the occlusion unloads the textures, or breaks the shader?

We’ve had several other issues related to occlusion on Android as well, so our guess is there is some general bug going on in ARCore there.

Thanks for your help!

Re: Maps loose their tiles and turn grey on certain Androids

This user seems to have had a similar issue https://forum.infinity-code.com/viewtopic.php?id=2036

Re: Maps loose their tiles and turn grey on certain Androids

Try asking in that thread.
Maybe this user was able to solve the problem.

Also:
Try to invoke map redraw using OnlineMaps.Redraw or OnlineMaps.RedrawImmediately after the AR has closed.
https://infinity-code.com/doxygen/onlin … 199d39b885

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.