The exceptions tag has no wiki summary.
0
votes
1answer
74 views
MonoGame InstancePlayLimitException on Windows w/ OpenGL
Why am I getting the InstancePlayLimitException when playing several SoundEffects per second despite there being no limit unless programming for mobile? It occurs after only a few seconds of repeated ...
0
votes
1answer
48 views
System.StackOverflowException error [closed]
Hi all! I have a one problem. I trying to create 2D cave generation system in C# with XNA game studio, but then I running program I getting "System.StackOverflowException".
As you can see in this ...
0
votes
2answers
551 views
Using crittercism with Unity
I want to use crittercism with my Unity project. In Unity I am developing a game for iOS and Android platform. I did enough Google searching to come to the conclusion that Unity doesn't support this ...
0
votes
1answer
47 views
How to handle runtime exceptions that occur on a loading process delegated to newly spawned thread
I am looking to multi-thread the resource allocation routines (i.e world loading) in my game so that they can occur in the background whilst rendering a loading screen etc... The problem is, I used to ...
1
vote
1answer
1k views
InvalidOperationException when using C# DLLs with Unity3D
Description
I've been attempting to use a custom DLL in Unity. I've confirmed the DLL runs correctly outside Unity.
The DLL imports into Unity and when I refer to it in my scripts, I get no compiler ...
2
votes
2answers
733 views
Why do my update and draw loops throw a concurrent access exception?
I've taken up the challenge of creating a basic 2D side-scrolling monster truck game for my little brother. It seems easy enough in theory, but jumping into Java out of XNA feels strange.
My game ...
12
votes
2answers
642 views
How should I handle missing resources?
Your game expects a certain asset to be loaded, but it isn't found. How should the situation be handled? For example:
Texture* grassTexture = LoadTexture("Grass.png"); // returns NULL; texture not ...
-1
votes
2answers
106 views
Java hashmap access without exception [closed]
I'm using a hashmap as an infinite map for a tile based game.
I'm trying to access all values in a hashmap from another thread and changing the content at the same time. But I'm getting a ...
2
votes
1answer
549 views
Monogame crashes without any change
I've written a game in MonoGame, which works great on my desktop computer. It's running Windows 8, has a good graphics card and can be assumed to be up to date with everything.
However, when I run on ...
0
votes
2answers
412 views
XNA texture GetData exception
When using this code:
public static Texture2D MakeTexRed(Texture2D tex)
{
Texture2D drawTex = new Texture2D(Game1.graphics.GraphicsDevice, tex.Width, tex.Height);
Color[] data = ...
21
votes
5answers
3k views
Try-catch or ifs for error handling in C++
Are exceptions used widely in game engine design or it is more preferable using pure if statements? For example with exceptions:
try {
m_fpsTextId = m_statistics->createText( "FPS: 0", 16, 20, ...