Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [exceptions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
33 views

how to detect Unity UNET errors?

I'm working on a simple multiplayer online game. and I use UNET and Networkmanager. In my game I have some rooms and players ...
0
votes
1answer
707 views

Jagged array - check if array index is out of range

Hey I am a bit confused about how to properly check a Jagged array for "index out of range exceptions" Im quite sure im somehow supposed to use the .Length of the array but it confuses me to read ...
0
votes
1answer
2k views

Unity: Failed to build APK. See console for details

i am getting this error whenever i am trying to build a project. i looked at so many solutions but this one just doesn't go away. This is the error: ...
0
votes
1answer
287 views

Look rotation viewing vector is zero in Unity when making UI

How can I tackle the problem: Look rotation viewing vector is zero? Here is how I get it: I add an Image from UI. When the Image is added I click on it in the ...
1
vote
0answers
140 views

How should I handle exceptions in libGDX?

I want to keep my game running as much as possible for the user, obviously. They would be dissapointed if the game suddenly quits without leaving any notice behind, and it would be difficult for them ...
9
votes
3answers
5k views

NullReferenceException in Unity

Since many users are facing the NullReferenceException: Object reference not set to an instance of an object error in Unity, I thought that it would be a good idea ...
0
votes
2answers
65 views

Why does Unity allow me to use GameObjects created from non-existent prefabs?

I have code similar to the following in a Unity project. I was trying to shoot a projectile when spacebar was hit, but a projectile wasn't appearing. I found out the problem was caused because I moved ...
2
votes
1answer
1k views

Libgdx problem while converting TextureRegion to Pixmap

I'm developping a Tile base game where I have to generate transition tiles. To do so, I have a method that generate those tiles from 2 existing one and 1 "filter tile". I use this method to make a ...
1
vote
2answers
1k views

Why does my MonoGame mesh throw an unhandled exception when trying to draw?

I am using the '3D Models' chapter of Learning XNA 4.0 to further understand 3D implementation in XNA, but I am running into an unhandled exception, when I try to draw each mesh. Here is my basic ...
1
vote
1answer
474 views

glGenArrays - This functionality is not available

Whenever I call glGenVertexArrays(), I get the following exception: Exception in thread "main" java.lang.IllegalStateException: This functionality is not ...
2
votes
0answers
887 views

How Industy games handle their code errors and exceptions [closed]

I've seen games crash and throw errors. Usually games don't throw raw exception message, but codename error names, such as F204 or similar. I would like to know some thought about that. Also, as i ...
1
vote
1answer
207 views

Life Counter in Greenfoot caught “Incompatible Types” exception

I need to make a life counter so that when my Actor get hit by an Enemy, his life will be decreased by 1. I put this method in my Actor class: ...
1
vote
1answer
209 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
158 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
1answer
63 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
2k 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 ...
13
votes
2answers
1k 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: ...
-1
votes
2answers
129 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 java.util....
2
votes
1answer
1k 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 ...
2
votes
2answers
1k 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 ...
0
votes
2answers
700 views

XNA texture GetData exception

When using this code: ...
1
vote
2answers
739 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 ...
30
votes
3answers
9k 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: ...