You searched for the word(s):
< 1 second(s)
-
The exception was indeed an InvalidOperationException which read ''The operation was aborted. You may not modify a resource that has
been set on a device, or after it has been used within a tiling bracket.''I attempted to add GraphicsDevice.Textures[0] = null; before GameObjectManager.Init(); in the Initialize() function of the Game1 class. But ...
-
After compiling and testing the new code the game experiences an exception after pressing start. The exception occurred in the PixelPerfectHelper::GetOpaqueData function at this point:texture.GetData<Color>(pixels);As I attempted a work around by putting the above line inside a try and catch statement the result was that collision detection ...