Skip to main content

Questions tagged [exceptions]

Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

fire (Event event) method throws the NullPointerException. Trace: ...
erekle barvenashvili's user avatar
0 votes
1 answer
567 views

After importing EasyRoads3D version 3.2.2f2 into Unity 2021.3.20f1, and trying to create a simple road, I get a lot of exceptions: ...
Some programmer dude's user avatar
-1 votes
1 answer
82 views

I have a pretty "basic" combat class here. It has a Player and an Enemy. They are inherrited from a Character class and have values such as health, armor and ar (attack rating (damage)). I ...
bogorian cooking oil warrior's user avatar
0 votes
0 answers
90 views

I'm working at a game industry and my company's planning on releasing some games for consoles (PS, Nintendo Switch). I'm wondering if we should integrate some kind of custom crash reporting system ...
Michael's user avatar
18 votes
5 answers
6k views

Imagine a situation where a level/game designer has missed assigning a prefab in one of the game objects' inspector configurations. (I am coming from Unity, but what I basically mean a reference to ...
Candid Moon _Max_'s user avatar
0 votes
1 answer
1k views

I'm trying to create a class that holds the data for an an attack, called Attack. I also have special attacks that have more properties, and so I wanted to create a ...
Agent Tatsu's user avatar
1 vote
1 answer
170 views

I'm working on a simple multiplayer online game. and I use UNET and Networkmanager. In my game I have some rooms and players ...
iman_sh's user avatar
  • 175
0 votes
1 answer
2k views

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: ...
Mohit Saxena's user avatar
3 votes
1 answer
365 views

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 ...
Matt Y's user avatar
  • 241
0 votes
2 answers
155 views

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 ...
Raven's user avatar
  • 279
1 vote
2 answers
2k views

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 Draw(...
Gnemlock's user avatar
  • 5,333
2 votes
0 answers
2k views

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 ...
YoungDeveloper's user avatar
1 vote
1 answer
309 views

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 ...
Bagofsheep's user avatar
0 votes
1 answer
86 views

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 ...
Jeremy's user avatar
  • 135
13 votes
2 answers
1k views

Your game expects a certain asset to be loaded, but it isn't found. How should the situation be handled? For example: ...
concept3d's user avatar
  • 12.8k
2 votes
1 answer
2k views

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 ...
Tom's user avatar
  • 123
0 votes
2 answers
941 views

When using this code: ...
user1990950's user avatar
31 votes
3 answers
10k views

Are exceptions used widely in game engine design or it is more preferable using pure if statements? For example with exceptions: ...
tobi's user avatar
  • 729