Inspector TypeError when trying to list materials

when I try to open the materials using the + button in the scene explorer, the scene explorer closes itself, and shows the following error (twice) in the console: TypeError: ( || ā€œā€).toLowerCase is not a function
at Array.sort ()
at Function.e.SortAndFilter (
at t.render (
at so (
at lo (
at ho (
at Xo (
at Ko (
at Li (

This only happens with the materials, everything else seems to work. Iā€™m using babylonjs alpha 26

Are you able to repro on the playground? Or also with an empty scene? I just built the latest on github locally and am unable to reproduce.

Sorry, the error was on my end, I set an array as the name of a material by mistake.

1 Like