Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML.Net AccessViolationException when using Text.GetLocalBounds()  (Read 1941 times)

0 Members and 1 Guest are viewing this topic.

Zarickan

  • Newbie
  • *
  • Posts: 2
    • View Profile
As the title says, I sometimes (not consistently) get a AccessViolationException when attempting to use .GetGlobalBounds() on an SFML text object from within my drawing loop.

I do not know how to reproduce this, and it happens randomly when I start my program. I have tried limiting my application to only using one thread for both drawing and updating as opposed to two or three threads but it did not help. Initializing the font object from a byte array before using it in the constructor of a text object reduced the issue, but did not resolve it, please help!



Stacktrace:
(click to show/hide)
« Last Edit: July 16, 2016, 08:06:59 pm by Zarickan »

 

anything