BoundingInfoHelper dispose

I’m weak…so looking to upgrade Seedborn with the new stuff…plus I’m weak, so I repro…

Repro: Babylon.js Playground

console throws error in the dispose. Apparently the _platform isn’t populated if the helper isn’t doing any work? uncomment line 30 and the dispose works. wai?

You are right, _platform is not initialized. You have to do a computeAsync before. I’m adding a check to not get the error.

3 Likes

Tested in v8.1.1, fix works. Marking as solved. Thanks!

2 Likes