TypeError: Cannot set property 'displayName' of undefined is reported when trying to load my NME snippet (
#YDTJYX#2) in Babylon v4.2.0.
Playground: Babylon.js Playground
The NME for the snippet I’m trying to load: https://nme.babylonjs.com/#YDTJYX#2
Note 1: Loading the previous version of the material (#YDTJYX#1), without the “UV Radial Gradient” piece works.
Note 2: Switching it to v5.0 alpha works, but unable to do this in our production environment.