You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a AWD2Parser to parse an AWD2 Model. This Model uses only one TextureMaterial. I tried to dispose the Mesh and the TextureMaterial, FDT Profiler says that the BitmapData Instance stays in the Player.
Hi,
I use a AWD2Parser to parse an AWD2 Model. This Model uses only one TextureMaterial. I tried to dispose the Mesh and the TextureMaterial, FDT Profiler says that the BitmapData Instance stays in the Player.
I used this code for Material disposing:
_mat.texture.dispose();
_mat.dispose();
_mat = null;
and this code for disposing the Mesh:
_mesh.geometry.dispose();
_mesh = null;
Anyway I dispose my loaded BitmapData like this:
_bitmapData.dispose();
_bitmapData = null;
FDT Profiler show that only my BitmapData has been disposed.
I dont know if this is a bug or I used the wrong code.
The text was updated successfully, but these errors were encountered: