Bug in inspector V1

Hi everyone,

I’ve seen a bug in the inspector V1. When creating a PBR material with an albedoColor, the color displayed in the inspector is not the color that you create.

Here for a repro : https://playground.babylonjs.com/?inspectorv1#C77SMH#86

But the main problem is that it seems that the PBR material which is applied to the meshes has also the wrong albedoColor.

There’s no problem with the inspector V2.

Thanks for your answers.

Boris

Hey there. As v2 is out we are closing v1 and we are not planning to fix it anymore.

It will be kept in our cdn and npm for those who do not want to migrate though.

Is there anything preventing you to switch to V2 ?

cc @ryantrem

I don’t mind switching to V2 but i’m using the cdn support and I think that the Inspector V2 is not available yet. Am i wrong ?

But if it is available in the next few weeks, it will be ok for me.

Thanks for your answers.

Boris

It should work from CDN as well, I ll let @ryantrem let you know how

Yes, the Inspector v2 UMD bundle is published to the CDN, just add -v2, e.g. https://cdn.babylonjs.com/inspector/babylon.inspector-v2.bundle.js

It’s backward compatible with v1, so you should be able to just switch to the new bundle with no code changes needed on your side. If you run into any issues, definitely let us know!

3 Likes