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.
178 questions
0
votes
1
answer
45
views
My scene crashed on `MonoBehaviour::VirtualRedirectTransfer`, how can I figure out which class or GameObject triggered this error
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:
<...
0
votes
1
answer
114
views
What are some basic methods/algorithms for drawing wireframe shapes using Gizmos?
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 ...
1
vote
2
answers
910
views
Disable all Player input in Godot 3?
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 ...
1
vote
1
answer
164
views
remaking Pong in Godot but the opponent AI cannot locate the ball's coordinate correctly
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 ...
0
votes
1
answer
102
views
Can RenderDoc debug linux binaries?
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 ...
0
votes
1
answer
109
views
3D Impulse based collision resolution not behaving correctly, what could be wrong?
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 ...
0
votes
1
answer
307
views
Unity debug error “Frame not in module”
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," ...
-1
votes
1
answer
713
views
The Random.Range function isn't activating when I call it. How do I get the function to work properly and call from a range of numbers?
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 ...
0
votes
1
answer
124
views
Remove StaticMesh via debug console in ue4
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....
0
votes
1
answer
41
views
How can I load symbols for Composure?
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'...
0
votes
0
answers
67
views
High mass bodies that are stacked on top of each other are wobbling while sitting idly in Box2D
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 ...
1
vote
1
answer
903
views
See connected signals for instantiated Node while in Debug mode
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 ...
0
votes
1
answer
205
views
Tessellation shaders not working, no objects drawing on screen
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'...
0
votes
3
answers
250
views
Respawn Player to Respawn point when colliding with a Hazard
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 ...
1
vote
1
answer
1k
views
No vertex shader bound at draw?
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 ...