GLBAsync destroying background Layer

Hi everyone,

I’m exporting a scene with GLBAsync. After the export the background layer no longer exists.
The strange part is this only happens when I assign a texture to a material.
Here is a playground with the issue:

  • Brian

Pinging @bghgary and @Drigax

Wow, that is weird. I will investigate.

Fixed in Bug fix by bghgary · Pull Request #6309 · BabylonJS/Babylon.js · GitHub. Thanks for the bug report!

Thank you!