GLBAsync destroying background Layer

#1

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:
https://www.babylonjs-playground.com/#95MJI8#24

  • Brian
#2

Pinging @bghgary and @Drigax

#3

Wow, that is weird. I will investigate.

#4

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

#5

Thank you!