Warning logged when disposing a decal

Just moving this issue to a separate Bug thread so it’s easier to keep track of. :slight_smile:

Hey there! I’m taking a look at this :slight_smile:

Oooh figured it out! It wasn’t a problem in disposing but in creating, The pick was hitting the decal instead of the box sometimes, if you filter it the problem goes away :smiley: Available Mesh Shark | Babylon.js Playground (babylonjs.com)

3 Likes

Aaaha, the decal is getting picked, of course that make sense now that you mention it… And then passing the disposed mesh to CreateDecal triggers the warning, which makes sense too since it doesn’t have any geometry anymore… Thanks for looking into it! :slight_smile: :beers:

1 Like