Prefilter Cubemap - Uncaught TypeError: Cannot read property 'format' of undefined

When I try to prefilter a cubemap on any project the loading bar waits for about 30 seconds then fails with Uncaught TypeError: Cannot read property ‘format’ of undefined

Here’s a demo project PlayCanvas | HTML5 Game Engine

Not sure what I might have setup incorrectly or if maybe this is just some part of the playcanvas service that is down?

Hi @george1,

I think I’ve seen that error once when I tried enabling texture compression on the cubemap source image assets. Even after disabling it the error wouldn’t go away, and I had to delete all the related assets (images files and cubemap), reupload and try again.

Then it worked, try that. In any case this seems like a bug, would you care submitting it in the editor repo for the team to quickly take a look?

1 Like

Ok, I submitted the issue here: https://github.com/playcanvas/editor/issues/171

Thank you for the response Leonidas!

1 Like