Invisible Models in Release Mode But Not Debug
by Jeff Leigh · in Torque Game Engine · 09/24/2005 (5:01 am) · 4 replies
Anyone ever run into an issue where your player model is invisible in game when running a release build, but you can't get it to happen in a debug build?
The model is there, it shoots, moves, and everything, but it is invisible.
Only in release mode (as far as I have been able to reproduce).
Any ideas?
NOTE: This is a custom game (i.e. player class) not stock TGE so anything is possible, keep and open mind...
The model is there, it shoots, moves, and everything, but it is invisible.
Only in release mode (as far as I have been able to reproduce).
Any ideas?
NOTE: This is a custom game (i.e. player class) not stock TGE so anything is possible, keep and open mind...
#2
09/24/2005 (11:09 am)
Maybe you have an assert around some crucial render call? I've done that on occasion, really messes me up. :)
#3
That if condition turns out true for the ghost in question and thus it never gets added to the image list to be rendered. I don't know why yet, still digging, but at least it seems there is a reason.
Still a mystery why it only happens in release builds AND not every time the app is executed.
Apparently for some reason it thinks the ghost is not in any zones.
09/24/2005 (7:15 pm)
I have it narrowed down to the first "if" statement in SceneGraph::treeTraverseVisit()That if condition turns out true for the ghost in question and thus it never gets added to the image list to be rendered. I don't know why yet, still digging, but at least it seems there is a reason.
Still a mystery why it only happens in release builds AND not every time the app is executed.
Apparently for some reason it thinks the ghost is not in any zones.
#4
09/25/2005 (1:20 am)
The game has no terrain. Maybe that screws something up in zoning??
Torque Owner Nigel Hungerford-Symes