GUI not working in latest Babylon version, but works in older versions

Hey guys. I’ve noticed that this playground works in older versions of Babylon but in the latest version it breaks. I had this issue in my local project as well, so I reverted to an older version. Is implementation changed in the latest version or is it a bug?

There was a new keyword before the Create function, which is not allowed anymore in 5+ as we’re more strict with typing: Textblock GUI | Babylon.js Playground (babylonjs-playground.com)

Btw it’s also not recommended to use the new before the create mesh functions :slight_smile:

1 Like