Quantcast
Channel: Babylon.js
Viewing all articles
Browse latest Browse all 388

small bug in Scene.serializer with ShaderMaterials

$
0
0

Hi!

 

I found small bug in serializer.

It crash, if i try serialize scene with ShaderMaterial's.

 

Uncaught TypeError: Cannot read property 'asArray' of undefined

serializeMaterial @ babylon.max.js:24503

SceneSerializer.Serialize @ babylon.max.js:25000

 

ambientColor and etc property's is not present in ShaderMaterial's.  I think we need one 'if' there, who exclude all shaderMaterials from srialize process.


Viewing all articles
Browse latest Browse all 388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>