m_IsVertexBufferMapped

I am getting the following error when creating and deleting objects while testing in the Editor:

m_IsVertexBufferMapped
UnityEditor.Handles:Internal_DrawCamera(Camera, Int32)
UnityEditor.Handles:Internal_DrawCamera(Camera, Int32)
UnityEditor.Handles:smile:rawCamera(Rect, Camera, Int32) (at C:\builds\unity-branches-2.5.x\unity-2.5.x\Editor\Mono\Generated\EditorHandles.cs:731)
UnityEditor.SceneView:OnGUI() (at C:\builds\unity-branches-2.5.x\unity-2.5.x\Editor\Mono\SceneView\SceneView.cs:350)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ])
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ])
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[ ], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[ ])
UnityEditor.HostView:Invoke(String) (at C:\builds\unity-branches-2.5.x\unity-2.5.x\Editor\Mono\GUI\DockArea.cs:156)
UnityEditor.DockArea:OnGUI() (at C:\builds\unity-branches-2.5.x\unity-2.5.x\Editor\Mono\GUI\DockArea.cs:491)

[…..\Runtime\GfxDevice\d3d\D3D9VBO.cpp line 166]

Assert in file: C:/bilds/unity-branches-2.5x/Editor/Mono/Generated/EditorHandles.cs at line: 731

I will also file a bug, but was wondering if anyone knew what would cause this in the meantime?

I get that error when I am running Unity in one Space and switch to another on OS X. Not sure if it’s related.

Thanks for the reply, I am currently running Vista so it seems like it may not be OS dependent. I am creating and destroying objects and also referencing the bones of a character. Still haven’t narrowed it down to the exact call.

I think this may have to do with adding a skinned mesh renderer and not setting the update offscreen… I changed that one line (updateWhenOffscreen = true) and I no longer get the error… possibly the camera was getting confused on the add?