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.
15 questions
15
votes
3
answers
10k
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 ...
4
votes
1
answer
6k
views
How to make an Assert.IsNull test pass when the value is reported as <null>?
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 ...
20
votes
7
answers
1k
views
How do you get useful data from playtesters? [closed]
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 ...
5
votes
2
answers
2k
views
How do I get a new license for gDEBugger after the 1 free year?
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 ...
18
votes
2
answers
6k
views
How can I debug shader programs?
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 ...
18
votes
9
answers
2k
views
Real-time Debugging Techniques
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 ...
13
votes
4
answers
9k
views
Debugging Shader Code?
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'...
5
votes
4
answers
1k
views
Debugging tips? [closed]
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 ...
4
votes
1
answer
4k
views
Bullet physics debug drawing not working
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 ...
4
votes
1
answer
1k
views
Graphical mesh lags behind collision shape in BulletPhysics debug drawing
In Bullet Physics when I debug draw physics world the graphical mesh lags behind the collsion shape.
...
1
vote
1
answer
1k
views
Problem with Rotation clamping in Unity
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 ...
1
vote
2
answers
8k
views
"Video system not initialized" error
I always get the error message "video system not initialized"
I don't get where I went wrong with the code below:
...
1
vote
2
answers
3k
views
Can't get debug spew for Direct3D9
The Direct3D9 debug runtime's debug output does not appear to be working correctly. I linked against d3dx9d.lib instead of ...
1
vote
1
answer
1k
views
Gizmos not being drawn until GameObject selected
I have implemented Scene loading in my game and have three scenes: Persistent, Main Menu and ...
0
votes
1
answer
4k
views
Fixing error(23, 2) Error parsing expression, misplaced: func
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 ...