0 Members and 2 Guests are viewing this topic.
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at SlimDX.Direct3D9.Device.DrawIndexedPrimitives(PrimitiveType primitiveType, Int32 baseVertexIndex, Int32 minimumVertexIndex, Int32 vertexCount, Int32 startIndex, Int32 primitiveCount) at DigitalFossil.Character.RenderInRetopoModeWithEffectBuffered(FrameDerived frame, Boolean useEffect, Boolean textured, Single effectAmount, Device deviceIn, Material mtrl, Int32 numVertexIndices, Int32 indexStartPos, Int32 primitiveCount, IndexBuffer ib, VertexBuffer vb, Int32 stride, Boolean isForBackFacing) at DigitalFossil.Character.RenderInRetopoModeWithEffectBuffered(FrameDerived frame, Boolean useEffect, Boolean textured, Single effectAmount, Device deviceIn, Material mtrl, Int32 numVertexIndices, Int32 indexStartPos, Int32 primitiveCount, IndexBuffer ib, VertexBuffer vb, Int32 stride) at DigitalFossil.Character.DrawMeshContainerInRawData(Device deviceIn, MeshContainerDerived mesh, FrameDerived frame, Boolean drawMaterialWithTransparent, Single effectAmount, Boolean forEdgeRendering, Color edgeColor) at DigitalFossil.Character.DrawMeshContainerInRawData(Device deviceIn, MeshContainerDerived mesh, FrameDerived frame, Boolean drawMaterialWithTransparent) at DigitalFossil.Character.FrameHierarchyFunction_DrawFrame(FrameDerived frame, Boolean drawMaterialWithTransparent) at DigitalFossil.Character.RenderBegin() at DigitalFossil.Character.Render() at DigitalFossil.BaseGraphicWindow.RenderObjectsInOrder(ArrayList charactersToRender, Boolean solid, Boolean transparent) at DigitalFossil.BaseGraphicWindow.RenderObjectsInOrder(Boolean solid, Boolean transparent) at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderObjects() at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render() at DigitalFossil.BaseGraphicWindow.Render3DEnvironment() at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)
SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516) at SlimDX.Result.Throw[T](Object dataKey, Object dataValue) at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue) at SlimDX.Result.Record[T](Int32 hr, Object dataKey, Object dataValue) at SlimDX.Direct3D9.Sprite.Begin(SpriteFlags flags) at DigitalFossil.SpriteFont.DrawText(Int32 x, Int32 y, Color color, String scoreText, DrawTextFormat drawTextFormat) at DigitalFossil.SpriteFont.DrawText(Int32 x, Int32 y, Color color, String scoreText) at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.WorldAxisPoint.Draw(Boolean highlightedIn, Line drawingLine, SpriteFont drawingFont, Vector2 vCenter) at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.RenderWorldSpaceAxis() at DigitalFossil.AnimationDesign.AnimationDesignGraphicWindow.Render() at DigitalFossil.BaseGraphicWindow.Render3DEnvironment() at DigitalFossil.BaseGraphicWindow.FullRenderDetail(Boolean forced)[/quote]
The function for HUD font scale causes the problem.
Try this.