-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purple rectangle layer after a background #978
Comments
@latargere, thank you for reporting this behavior. Is this occurring with symbol layers, point annotations or both? Additionally, do you know how much time it took for the purple rectangles to appear and is this happening on physical devices or on the simulator? |
Thanks for your questions. It was on a real device. I don't have an exact time of background but it's not straight after a background/foreground |
Is there a way I can help you? |
@latargere, I am unable to reproduce this behavior with our examples. Would you be able to share a sample project that reproduces this behavior? |
I'm struggling trying to provide something since I have not identified how to clearly trigger this bug. |
@latargere happy to get these questions answered for you. In the meantime, would you be able to provide us with any related logs? |
I tried to get it with the debugger attached but right now, I couldn't. If it can help after having it (after coming from background), I did a second background/foreground and layers were fixed |
@latargere do you have a code snippet of how you were originally adding the second background/foreground that caused the purple rectangle? |
Sorry I typed a bit too fast but when I was saying background/foreground I mean putting my app in background and then resuming it, that's what cause this bug, but not all the times.... |
I think usually that purple color means that there was some problem in shader code. Not sure if that is the cause here though. |
Not sure neither how to trigger this since I cannot get the debugger in the same time. By setting again the same map style after receiving a "willEnterForegroundNotification", I could make the map work again when this bug occurs but I can still see this weird behaviour for a fraction of second |
@latargere thank you for reporting. We will look into what may be causing this behavior. |
Environment
Observed behavior and steps to reproduce
After awhile in the background, when I put back the app in foreground. All layers are represented with purple rectangle.
I got the same behavior in the latest mapbox navigation
Expected behavior
My annotations should be back
The text was updated successfully, but these errors were encountered: