Skip to main content

Questions tagged [debugging]

Debugging is a methodical process of finding and reducing the number of bugs in a game, thus making it behave as expected.

Filter by
Sorted by
Tagged with
15 votes
3 answers
10k views

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 ...
Hellium's user avatar
  • 2,949
4 votes
1 answer
6k views

I've just started using unity tests with the built in editor tests. After making my test and finding out that it constantly failed I debugged the code and found that a static object was set to a new ...
user3797758's user avatar
  • 3,661
20 votes
7 answers
1k views

There are a few types of feedback you can get from playtesters, and I wonder how to best gather data for each of them... Crash Reports. When my C++ game crashes while someone is playing it, how do I ...
dcarrigg's user avatar
  • 1,037
5 votes
2 answers
2k views

I downloaded the gDEBugger from gremedy over a year ago, with their one year free license. The license has since expired and their site says that I'll be presented with the option for 1 year free ...
House's user avatar
  • 73.5k
18 votes
2 answers
6k views

I'm in the process of debugging GLSL vertex shaders and I can't shake the feeling that I'm doing it wrong. In general I have two strategies to make up for the lack of tracing I stuff values into a ...
Jonathan Fischoff's user avatar
18 votes
9 answers
2k views

There's nothing quite like the routine of tweaking a variable, compiling code that takes a few minutes, executing the code, realizing that your tweak was in the wrong direction and repeating the ...
David McGraw's user avatar
  • 4,081
13 votes
4 answers
9k views

I'm writing a game engine, and when I use a perspective camera I get a black screen. I am not going to ask exactly why this is because there would be a lot of code to share and, frankly, I think that'...
Publius's user avatar
  • 1,513
5 votes
4 answers
1k views

I'm new to games programming and I'm working on a C#/XNA project. Something I'm spending a lot of time on is debugging. Obviously as games run in a loop finding the exact iteration that a bad ...
TerryB's user avatar
  • 1,273
4 votes
1 answer
4k views

Background I am following on from this question, which isn't answered yet. Basically I have a cube and a UVSphere in my scene, with UVSphere on the top of the cube without touching the cube. Both ...
Krishnabhadra's user avatar
4 votes
1 answer
1k views

In Bullet Physics when I debug draw physics world the graphical mesh lags behind the collsion shape. ...
Manmohan Bishnoi's user avatar
1 vote
1 answer
1k views

I'm trying to get a simple cannon to rotate to point at the mouse, but I only want it to follow the mouse for 180 degrees and then stop following the mouse, and pick up again when the player re-enters ...
Ultra Gamer's user avatar
1 vote
2 answers
8k views

I always get the error message "video system not initialized" I don't get where I went wrong with the code below: ...
Andrea Lyn Latoza's user avatar
1 vote
2 answers
3k views

The Direct3D9 debug runtime's debug output does not appear to be working correctly. I linked against d3dx9d.lib instead of ...
DeadMG's user avatar
  • 5,536
1 vote
1 answer
1k views

I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and ...
caleidon's user avatar
  • 591
0 votes
1 answer
4k views

When I try to use the GDScript code below, Godot gives me the error: error(23, 2) Error parsing expression, misplaced: func Why am I getting this error, and how can I fix it? Is there another input ...
Najma Muhammad's user avatar