How to dispose Dynamictexture? Error in dynamictexture.dispose()

It seems that i could not use

dysnamictexture.dispose()

Please check this Demo PG

Your playground does not look like it reproduces the issue ?

The only way this can happen is if you the texture does not have an engine and you are trying to update it like draw text or similar.

Updating a disposed texture will have the same outcome.

2 Likes