Getting a stack trace of a specific thread
Hello, I'm trying to figure out a way to debug infinite loops. What I have so far is an independent thread which uses some Native code to get Keyboard input, and then would - in theory - interject into...
View ArticleHow to spawn and destroy prefabs for endless runner?
I have followed several tutorials regarding endless runners, and I have them working. However, the examples are often for random instances of a spawned block. I would like to know where to learn to...
View ArticleMy trigger is not working right
hello there i am making a video game that require a obstacle generator similar to the one in flappy birds when the character goes though the trigger located in the center of the obstacles it is suppose...
View ArticleHow to track all Update() calls to find infinite loop
I'm trying to track down a suspected infinite loop within our game. We have a massive project containing many loops - some written by us, some written by a previous company, and some contained within...
View ArticleMy for loop is running constantly
So my for loop will not stop instantiating gameobjects and i don't think there is an error in the for loop, is it a unity thing or something i'm missing? function Start () {...
View ArticleOnCollisionEnter2D() Instantiate Causing an Infinite Loop
Hey guys, I'm trying to Instantiate a new object after an object leaves the spawning zone. Here's is what I've got so far (This is attached to the spawning zone GO): void OnTriggerEnter2D(Collider2D...
View ArticleUnity 4.5.2, the partiticle system goes to an infinite loop
Our unity version is 4.5.2. And, sometimes it would often go to an infinite loop due to particle system, the call-stack is below. I would thank very much anyone that give the clues to this problem, and...
View ArticleInfinite Loop while Removing Components
Why is this giving me an infinite loop? (It is crashing eclipse because System out of memory, so I am assuming it is an infinite loop anyways...) while (transform.gameObject.GetComponent() != null) {...
View ArticleFor Loop won't stop initiating
void Spawner() { float shift = 0.5f; for (int curCount = 0; curCount
View Article
More Pages to Explore .....