1 (edited by asd4906asd 2022-09-19 02:54:45)

Topic: After using camera function, Online Maps will be white(blank).

On my Android cellphone.
After using the related functions of the camera
The map turns white(blank).
But it works on iOS.

Device : Samsung S21

Thanks

Post's attachments

Attachment icon video.mp4 506.24 kb, 65 downloads since 2022-09-19 

Re: After using camera function, Online Maps will be white(blank).

Hello.

Is it some kind of camera asset?
What is its name?

It looks like this camera asset has unloaded the tile textures.
Why and how it happened - needs to be debugged.

To work around this after closing the camera, reset all tiles (OnlineMaps.instance.tileManager.Reset) and call a map redraw (OnlineMaps.instance.Redraw).

Kind Regards,
Infinity Code Team.

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

Re: After using camera function, Online Maps will be white(blank).

This problem is caused after using AR Camara from AR Foundation.
Used to view the map is another normal Camera.

I tried to call (OnlineMaps.instance.tileManager.Reset) and (OnlineMaps.instance.Redraw) after map broke.
But it is still blank.
Is anything wrong?

Thanks!

Re: After using camera function, Online Maps will be white(blank).

I don't develop for AR/VR/XR, I don't have such devices and knowledge.
Unfortunately, I don't know what could be the problem in your case.

What would I check first in this case:
- Make sure the tile textures are still in memory. Show one of them on UI to check it out.
- Make sure it's not a lighting issue by specifying Unlit shader for the map.

Kind Regards,
Infinity Code Team.

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