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
0 votes
1 answer
61 views

I have a Unity scene that works fine in editor, but always crash after being compiled into an executable with .NET/Mono backend, so I enabled stacktrace logging and dump the whole log into a file: <...
tribbloid's user avatar
  • 131
0 votes
1 answer
140 views

This is definitely a "doing for the sake of learning" question, so apologies in advance for that, but how would you go about using the Gizmos class to draw a basic wireframe shape? I'm ...
NJJ_002's user avatar
  • 47
1 vote
2 answers
1k views

I'm making an "Asteroids" clone in Godot 3.2.3 the way that the Bullet is spawned in-front of the Player ship is simple : the main game node will find the Player node's position and rotation ...
buzzbuzz20xx's user avatar
1 vote
1 answer
188 views

I'm following a detailed YouTube tutorial on remaking Pong in Godot 3.0 but I have ran into an issue regarding the way the AI opponent reacts to the incoming ball, what's happening is that the ...
buzzbuzz20xx's user avatar
0 votes
1 answer
121 views

I have downloaded RenderDoc for linux, but when passing a program as an argument it says "wrong file format", i have tried renaming to program.bin but same error. Is it a RenderDoc linux ...
Yvain's user avatar
  • 135
0 votes
1 answer
129 views

I've implemented a collision resolution system based on Ian Mellington's System Cyclone and afterwards based on the Game Physics Cookbook. Currently the last one is implemented. For some reason the ...
Martin's user avatar
  • 1
0 votes
1 answer
333 views

I'm creating a 2D game, and all my game layers are UI canvases. Here's the issue: during debugging, every time I click on the screen, Visual Studio stops and displays "Frame not in module," ...
Alisa's user avatar
  • 1
-1 votes
1 answer
760 views

As you can see, I'm attempting to set the random prey integer to a number within a random range like so: randomPrey= Random.Range(0,10); As I type the code out the .Range doesn't turn yellow and the ...
Gideon Falls's user avatar
0 votes
1 answer
144 views

How do I in game dev build debug console: list scene meshes remove exact mesh causing perfomance hit? tried: show StaticMesh removes all meshes https://docs....
jonny's user avatar
  • 101
0 votes
1 answer
55 views

I'm trying to load symbols so I can use breakpoints in Composure scripts and see how they control the PostProcessing of the SceneCapture2D component (because of this problem), but breakpoints hit. I'...
starphan's user avatar
0 votes
0 answers
78 views

I'm recreating the SaturnV rocket to-scale in Box2D, which so-far involves 3 very massive rectangular bodies stacked on top of each other (1-2 million kg each). Box2D advises not to use such high mass ...
confused_aspirant's user avatar
1 vote
1 answer
969 views

I'm trying to debug an issue with my game, where the function that should be connected to a signal is not being called. I have a created minimal repro of the situation by: Create a fresh Godot 4 ...
Jeroen's user avatar
  • 695
0 votes
1 answer
229 views

Using this tutorial https://learnopengl.com/Guest-Articles/2021/Tessellation/Tessellation and this tutorial https://www.youtube.com/watch?v=21gfE-zUym8 I implemented tessellation shaders that I haven'...
Chillzy's user avatar
  • 47
0 votes
3 answers
274 views

I have grid movement set up for the player within a set space. The player moves one unit at a time and can move several units when holding down a direction key. I would like the player to respawn back ...
Natalia DaLomba's user avatar
1 vote
1 answer
1k views

I tried asking this on reddit but I didn't get any answers so I might as well try here So I'm making a program to generate some terrain and it's not giving me the results I expected. It's drawing ...
Chillzy's user avatar
  • 47
0 votes
1 answer
319 views

I am new to Unity and I have been fighting with VSCode and debugging. I am trying to attach a debugger to Unity to test some code that run in the editor without running the app ( kind of Unity ...
Francesco's user avatar
  • 127
0 votes
2 answers
978 views

I just installed Android logcat to debug my game from Unity's package manager. I don't fully understand how it works or in what order the logs are shown relative to my code. The problem I have is that ...
Gozmetaiemax's user avatar
2 votes
2 answers
1k views

In legacy code, I need to check what caused the game object to be destroyed, disabled, etc. Is there any way to trace or to place a breakpoint to check the call stack for why the game object became ...
virtouso's user avatar
  • 2,680
1 vote
0 answers
176 views

Currently, we can draw rays in real time, like this: ...
BumbleBee's user avatar
1 vote
0 answers
231 views

I read this: https://zelda64.dev/games/mm#why-is-majoras-mask-so-far-behind-ocarina-of-time Retail versions of both games are compiled with -O2 -g3. -g3 is a debugging flag that includes far more ...
Jovonne W's user avatar
0 votes
0 answers
145 views

I'm trying to implement multi-touch in my game but there are many bugs so far and I need a way to get info on all of the touches as the game is running. So far I haven't found any way to do this.
brun ost's user avatar
1 vote
3 answers
504 views

I am currently developing a game in C++, using SDL2. For logging, I wrote this Log class: Log.h ...
Tom Gebel's user avatar
  • 113
0 votes
0 answers
230 views

I have used OnDrawGizmos function to draw some cubes. If I run the project from that particular scene, the gizmos are visible. But after a scene transition they disappear. It appears again if I select ...
Kavisha Samarasinghe's user avatar
2 votes
1 answer
731 views

Consider an enemy with this node hierarchy: * KinematicBody2D (Enemey) |- Sprite |- CollisionShape |- Area2D (StompDetector) |- CollisionShape2D With signal ...
pietrodito's user avatar
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
1 vote
1 answer
16k views

I read here a spectacular story of someone (scrappily) fixing some things in a game's source code, making it load 4 times faster! How did the developer get the source code in the first place? Is there ...
stevec's user avatar
  • 113
4 votes
1 answer
864 views

I'm writing some Vulkan code and write my shaders in GLSL. I tried to use Renderdoc to debug my shaders, but I only got disassembly code. Is it possible to debug shaders at the level of GLSL if I have ...
Mark Peter's user avatar
0 votes
1 answer
453 views

I am using the new Unity Input system for my game. When I press a key, for example "Q", I want gizmos to be drawn. However, I can't subscribe to a keypress event with a Gizmo drawing ...
caleidon's user avatar
  • 591
0 votes
1 answer
858 views

I've been having an issue for months now where if I have a dynamic bone chain that splits off in any way (ie. any of the chain's bones have child gameobjects), then the flow of the dynamic bone chain ...
Willixir's user avatar
0 votes
1 answer
158 views

I'm trying to make an object follow my cursor using raycasting. I'm creating the raycast each frame and checking the player's distance from the hit and whether or not the hit landed on an object ...
Alex Carr's user avatar
1 vote
1 answer
794 views

I am trying to build out my project, but I keep running into a nasty error message about a BP reroute node... :( It compiles all of the 1000 shaders and everything and just before it would finish it ...
formatc2013's user avatar
4 votes
4 answers
24k views

A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details. In working on saving to file the ...
ina's user avatar
  • 294
1 vote
0 answers
222 views

I have a plugin in my project to move around stuff with gizmos(much recommended tool, by the way). It has quite a few blueprint functions that I use. I would like to add some functionality to it, ...
formatc2013's user avatar
0 votes
0 answers
435 views

I made a build of my game, which is running just fine in the editor. But when I run the build, I get the splash screen, then a black screen. No graphics, no sound, no response to any input. (...
Mason Wheeler's user avatar
1 vote
1 answer
1k views

I have a number of things not working properly with my FBX imports and I would like to understand how FBX imports work internally. Now, I am noob in software development, so how do I debug the ...
Serhii's user avatar
  • 163
0 votes
2 answers
76 views

I'm trying to see some values within an animation loop, and am naively just console.log'ing when I need to, however, this usually results in the browser crashing ...
zlog's user avatar
  • 101
0 votes
2 answers
152 views

I have a model of a dragon, with an animation of it flying. When I play the animation in the Animator's preview, the dragon flies in a straight line, but when I run it in-game, it flies around in ...
Mason Wheeler's user avatar
-1 votes
1 answer
673 views

How do I debug OpenGL apps written in python? I tried but I was unable to use standard tools like nvidia nsight or glsl-debugger or renderDoc on python code.
fakhir's user avatar
  • 409
1 vote
2 answers
367 views

Problem I have a crosshair in the middle of the screen. I need to create a lineTrace that passes straight through this crosshair. As this is a third person game,...
Johnny Bra's user avatar
0 votes
1 answer
267 views

So, when I use camera.position.x = player.x; camera.position.y = player.y; to set the center of camera to my sprite, the code doesn't work as intended to. It's ...
Nirabhra's user avatar
0 votes
1 answer
2k views

I have released my first title Audio Infection ( https://store.steampowered.com/app/911580/Audio_Infection/ ) for a bit over a year ago. Recently 1 user has so far encountered an issue where the game ...
ploopploop's user avatar
0 votes
1 answer
721 views

I am working on project with a friend who uses Windows while I am using Ubuntu. We are using Unity collaborate and it's going fine except when we want to build. The keystore is in his filesystem, <...
twitu's user avatar
  • 103
0 votes
0 answers
87 views

I have tried some of the existing inspectors such as RenderDoc and gapid, but none of them can be used with Android 4.x. Latest version of gapid requires Android 6.0 and RenderDoc requires Android 5.0....
zwcloud's user avatar
  • 163
5 votes
1 answer
301 views

I have a GameObject as part of a complex scene with a handful of interconnected parts, that's moving when it shouldn't be. I've tried running under the debugger and setting breakpoints on all of the ...
Mason Wheeler's user avatar
0 votes
2 answers
3k views

i am implementing Mipmapping for my texture for the first time. i have 2 questions HOW TO CHECK IF MIPMAP IS DONE PROPERLY ? HOW TO SET MIPMAP FOR TEXTURE FROM FILE ? First one. i implemented texture ...
KIM CHANGJUN's user avatar
2 votes
2 answers
9k views

I am using the Unity 2019.1.12. If I go to Edit > Preferences... > External Tools it says that the Android SDK Tools Installed with Unity (recommended). Now I downloaded the Unity Remote 5 to my ...
iloveseven's user avatar
1 vote
1 answer
4k views

I'm having a very frustrating issue with GetComponent(). ...
mr-matt's user avatar
  • 2,779
2 votes
1 answer
2k views

So I have this large forest of around 2M tris: Same chunk selected with view on the whole level: It's been generated within Blender and exported as fbx into Unity. Exporting each tree as an individual ...
AzulShiva's user avatar
  • 679
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
0 votes
1 answer
2k views

In Unity 2018.4.3f1, I am able to build my APK successfully, but when I try to launch it on my mobile device, it shows: "Unfortunately game has stopped". I don't know the problem is. Here are the ...
Oussama Sabri's user avatar