Unhandled exception in player.cc
by Infinitum3D · in Torque Game Engine · 07/02/2008 (1:09 pm) · 2 replies
I'm using Visual C++ 2005 EE
When I shut down TGE, I get an error message,
Unhandled exception at 0x0088eb21 in torqueDemo_DEBUG.exe:
0xC0000005: Access violation reading location 0xb934d37c.
with options to Break or Continue.
Continue repeats the error.
Break brings up the Debugger in player.cc
const Point3F& scale = getScale();
dp[3] = sp[3] * scale.x;
The Call Stack line is
torqueDemo_DEBUG.exe!Player::getEyeTransform(MatrixF*mat=0x0012f154) Line 3054 + 0x6 bytes
It doesn't prevent the game from running correctly. Do I need to fix it? If so, how?
Thanks,
Tony
When I shut down TGE, I get an error message,
Unhandled exception at 0x0088eb21 in torqueDemo_DEBUG.exe:
0xC0000005: Access violation reading location 0xb934d37c.
with options to Break or Continue.
Continue repeats the error.
Break brings up the Debugger in player.cc
const Point3F& scale = getScale();
dp[3] = sp[3] * scale.x;
The Call Stack line is
torqueDemo_DEBUG.exe!Player::getEyeTransform(MatrixF*mat=0x0012f154) Line 3054 + 0x6 bytes
It doesn't prevent the game from running correctly. Do I need to fix it? If so, how?
Thanks,
Tony
Associate Rene Damm
To change it, move the eye matrix out of the if block so that it is scoped to the function. Maybe that solves your issue.