Can’t make out if this is an actual bug or not, so i would rather post it here then file a false report.
I have list of cubes made up of PlaneGeometry stored in memory*
the problem is i was iterating through the list every frame and toggling visiblity based on a distance check, after a few cubes would show up i would get
Error #3691: Resource limit for this resource type exceeded
at flash.display3D::Context3D/createVertexBuffer()
now i got passed this by completely removing the object from the scene and re-adding it like a pseudo visible function
if(distance < farDistance)
{
if (!view.scene.contains(cube))
view.scene.addChild(cube);
}
else
{
if (view.scene.contains(cube))
view.scene.removeChild(cube);
}
which is not a real fix, but the thing is i shouldn’t have to do this at all, why on visible does it re-create a new vertexBuffer (while not disposing of the previous?), i could see if the object was nonexistent or new yes, but shouldn’t it just remove the buffer from the display list and keep it in memory until disposed?