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
8
votes
1answer
255 views

How to report bugs found on procedurally generated levels?

There is many topics on how procedural generating works but I couldn't find any info on how to test and - what's more important - how to report bugs that may occur on procedurally generated levels. ...
0
votes
1answer
776 views

How to generate a log file from a Unity WebGL build?

I want to create a log file for every time my WebGL game is played and have the errors and warnings with detail in there. I know how to make the log file I just don't know how to get the errors and ...
0
votes
1answer
51 views

Is the 'partially checked' build sufficient to run the debug version of Direct3D 9?

To run Direct3D 9 in debug, it is necessary to "install a 'checked' version of the OS". The checked version of Windows comes in both full and partial flavors. It seems that the partial version is ...
0
votes
1answer
507 views

Simple Java 2D Game : Player Doesn't Move

I'm a beginner at java and I'm trying to make a simple 2D game as a practice, and i have a problem here with the player, I've tried a lot to make it move but it didn't work. These are the classes that ...
0
votes
1answer
226 views

Unity TopDown parallax effect only working in three of four directions

I'm a hobbyist at programming so I'm sure I'm missing something very simple: Basically I have a script that has a method for repositioning a 3x3 grid of tiles every time the player goes out of the ...
4
votes
2answers
3k views

How can I diagnose a Unity crash when running the game on a phone?

I have a 2D android game that is in beta on Google Play. It has about 100 installations, but no testers. I'm the only developer. Some of the users have reported app crashes, and because they are not ...
1
vote
1answer
31 views

Offset direction stops working when I get too close

I have a script trying to get the gun aim at the target instead of the origin: It's partially working. but when I get too close with the mouse the player starts spinning I would appreciate a help ...
1
vote
2answers
1k views

Unet how to control child gameobject?

I'm currently getting into the Unity networking system called unet. I have a child of the local player authority, the weapon. The weapon (PlasmaCannon_left and right) have a script handling firing, ...
4
votes
1answer
640 views

“Highlighting” Faces/Edges/Corners

How would I "highlight" faces/edges/corners? I would prefer an explanation OpenGL if possible. Here's an example:
0
votes
1answer
89 views

Enable debug to show values in the flowchart editor

I am starting to learn to use CryEngine V, and have found documentation lacking, in some aspects. Following the initial game logic tutorials, I observe the instructor selecting "debug" from the menu. ...
1
vote
0answers
379 views

SharpDX Error 'The Parameter is Incorrect', how to debug from dx?

I have written some code to handle a DX device. When the code is finished and makes it's call to DX the DX engine is complaining. What I'm looking to understand is how one goes about debugging on the ...
1
vote
0answers
42 views

FlashDevelop 5.1 StackFrame Panel Triggers Internal Debugger Exception

What setting/feature am I not configuring properly to have my StackFrame Panel back to a working state? OS: Windows 10 64bit IDE: FlashDevelop 5.1.1.1 for .NET 3.5 (32bit and 64bit behave the same) ...
1
vote
0answers
68 views

Inconsistent read violation when using game state machine [closed]

I am getting some very inconsistent read violation errors with my FSM. It is very hard to reproduce but it always happens when the FSM is switching between states. It breaks at this block: ...
1
vote
1answer
1k views

Is it possible to debug a Unity Android game directly on a device?

I'm working on my game and every time I make changes to it I send the game to my mobile device to debug it. I want to know how I can directly debug my game using an Android device instead of the ...
0
votes
1answer
941 views

my android game works very well on unity editor but not on device [closed]

Im working on a android unity project. My game works very well on the editor but, when i build it and run it on blue stacks emulator, it starts working corruptly. Bullets shoot twice in a time. When ...
-2
votes
1answer
2k views

How to fix an alarm event not triggering? [Gamemaker studio]

Object_1's alarm 1 event show_message("alarm triggered"); if (Destroy = true){ instance_destroy(); } Object_trigger's alarm start ...
1
vote
1answer
47 views

Permanent Adjacency Problem [Gamemaker Studio]

Situation: I started work on a pet project recently. It's a bit like Puzzlecraft, or Bejewled, but slightly different. You click one gem, as we'll call it, and if it's the first in the link, then it's ...
2
votes
1answer
11k views

How can I Debug.Draw different shapes in unity?

I want draw new shapes in Sence for example I want Debug.DrawSphere can I Debug.DrawCollider? Is possible that I Debug.DrawSphereCast
1
vote
2answers
992 views

Unity get more than 2 lines of log height

Unity does only display 2 lines in height for each log, at least with the default settings. I couldn't find a menu, where I could change this. I want to display a matrix, and I need to see the log ...
1
vote
1answer
559 views

LibGDX: creating actor conformed by other actors

I am making my custom actor class, made up by 3 actors(oneProgressBar, one Label and one ...
1
vote
1answer
87 views

Why do I get 3 lines of log at Monitor.exe when using Debug.Log in Unity?

I'm debugging a real device. In a GUILayer.Button I've put a single Debug.Log() message, like in this code Code: ...
4
votes
1answer
2k 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 ...
0
votes
1answer
134 views

When using Unity 5, is there a way to print/save/identify the last n lines of code that were executed at a specific point?

So, here is what I am after. Is there a way to identify which were the last n lines of code that were executed in Unity 5 (with C#) at a given point of the game? I know I can use Debug.Break() to set ...
0
votes
1answer
776 views

AS3 .hitTestObject() not working with Tween function

(This was originally in an other senction but many told me to ask here, hopefully someone can answer this) I am having a major problem in my new browser app. Okay so I made game where different cubes ...
2
votes
1answer
172 views

In Unity, why does my IndexOutOfRange exception disappear when trying to debug it?

I don't get errors when playing from Unity "Game" tab. But when I build an executable (development or not) it stucks. I get "IndexOutOfRange" exception. Which also magically disappears (yes) when I ...
0
votes
0answers
32 views

Changing game variables through network in run time for debugging

I want to implement a system in my game that will allow me to change in game parameters on runtime through the network. Lets say my game is running on a ps4 or xbox one, I want to be able to register ...
1
vote
2answers
124 views

Why when a certain boolean variable is true, the Unity editor crashes?

In my game I've got a timer script, which counts down unless the game is paused, but whenever the variable for pausing is true, something in the timer script makes the editor itself crash, and I have ...
1
vote
1answer
30 views

Function messages wont send when identical conditions will message to activate another function

So in working with my game, there aren't any syntax or compile errors, but there's this one bug that I've been working on to fix for a few days on and off and I can't seem to make heads or tails of ...
2
votes
1answer
152 views

Working around the current sad state of mobile GPU drivers

I'm working on a OpenGL ES3 app for Android: for various reasons, I decided to roll my own mini-OpenGL rendering engine. So far so good. Problem is, the GPU drivers in the mobile industry are such ...
1
vote
1answer
532 views

How to debug a GLSL shader? [duplicate]

I cannot find any tutorial in Google and Youtube. I have a C++ program that uses OpenGL ES 2.0 API to render something on the screen. How can I debug my shaders? Any step-by-step guide? What is the ...
1
vote
1answer
486 views

How to store each rendered frame as image in libgdx for debugging

I have a libgdx screen's render method where I am executing lots of for loops and drawing various shapes on screen in thoese loops. Also I am manupulating (x,y) of each shape at runtime to acheive a ...
2
votes
0answers
302 views

How do I get line numbers in a unity headless server's stack trace?

For some reason Unity 5 doesn't allow me to do a developement build of a headless server, and this is quite a problem when debugging, since I get stack traces without line numbers, such as: ...
3
votes
1answer
136 views

How to debug a DirectX crash on client machine?

I have customers who are experiencing crashes which I can't reproduce on my machine. From the minidumps they sent over, it appears that their crashes all seem to be in unexplained Direct3D calls, ...
3
votes
2answers
427 views

How to stop deltaTime while debugging

Framework: LibGDX IDE: Android Studio Game based on Kilobolt tutorial While debugging, the frame delta time i get using Gdx.graphics.getDeltaTime()continues to ...
1
vote
2answers
612 views

Can I develop a game for Kinect without a Kinect?

I have to make a game in Unity3D using Kinect. The problem is I don't have the Kinect yet. I need to wait until they deliver it to me. Can I imitate Kinect's movement for debugging my app?
7
votes
1answer
3k views

How to profile CPU and GPU performance if I have a monster PC?

I'm going to upgrade my PC soon. I'm worried that I will no longer spot performance losses in my game because of the better specs. I can check memory usage easily, but how do I check and debug CPU ...
1
vote
1answer
269 views

How to diagnose the problem when the input assembler and the vertex shader look correrct, but the Output Merger is wrong? [closed]

I'm porting some OpenGL code to Direct X 11. I ended up with nothing being drawn on the screen. I reverted to a simple program, which I am writing about here. I'm now trying to use the Graphics ...
1
vote
0answers
1k views

Leaderboard Testing on Google Play Services

I have a shared Google Play Developer account so that he allowed me to publish a game app. Next, I want to know if in order to test the online highscore is to upload the APK and publish it first ...
1
vote
1answer
169 views

TypeLoadException when running a Monogame Windows Phone 8 game

Using Monogame, I'm trying to port a game to Windows Phone 8, but I'm having issues getting a basic example to run. When I create a basic Mono project and run it on my phone (to check everything's OK)...
3
votes
1answer
3k views

Is there a way to view all colliders in a unity project at runtime (after the game have been deployed)?

I'm have created a small Unity project but physics has weird behavior (bug). Unfortunately it only happens on some specific hardware (after build), not on ...
1
vote
1answer
543 views

What's the best way to handle numerous recurring log entries in game loop?

I have a custom logging system, use of which is scattered all over the engine and game. The system is linked to a "LogStore" that has an ...
1
vote
0answers
4k views

Checkers make move and take move algorithm

I'm coding a checkers game and I encountered a problem and I'm 99% sure is about how the move is done and taken back. The structure of my game data is: an 8x8 array containing my board squares. ...
0
votes
1answer
2k views

Level loading works in Unity editor, but quits when deployed

In my level selection screen, all but the first level start out locked. When I click on a level, it loads perfectly in Unity editor. However, when I build the game on a real device, the game stops as ...
3
votes
2answers
800 views

Efficient way to output/display debugging data in a window

I'm writing a program in Visual Studio, C++ with OpenGL and for the first time, I think it will be beneficial to see some live data on top of my display/render window. To give some scope, I'm ...
0
votes
1answer
833 views

DirectX debugging: Graphics Pipeline Stages: Input Assembler: “No mesh available for stage”

My question is basically why VS2012 tells me that there is no mesh available for the Input Assembler stage because if I click on the DeviceContext next to the Draw call in the Grahics Event List the ...
0
votes
1answer
2k views

Unity/VS debugging only with UnityVS?

Hi, this one thing isn't clear to me: Is it possible, to debug C# of Unity 4.3 with Visual Studio 2013 without any plugin? If no, what or how else should I debug then?
1
vote
0answers
874 views

Unity game debugging on Xcode

This question has two parts: 1. How to get meaningful information out of Xcode crash logs? The game runs fine on the editor but when running on an iOS device it crashes and then gives information ...
0
votes
1answer
140 views

How to debug Android App Eclipse? [closed]

Ok. So while this isnt a programming question. I wanted to know how do people debug apps? How do you view log cat, and where these exceptions are thrown etc? And do I need to run the app on the ...
0
votes
1answer
59 views

Android Live Testing

I am making a game for android and in it I am using sensors which are not available in the emulator. At the moment I am connecting my device and transferring the apk, then installing to test but that ...
-1
votes
2answers
189 views

Velocity deacceleration working incorrectly

Basicly, I've tried to code velocity into my game, which works sort of. The deaccelaration works sort of, but not correctly. The problem is, that the positive values, decreases just fine and dandy to ...