ashwin.sudhir Posted September 28, 2012 Posted September 28, 2012 Hi, On updating to the UnigineSDK-binary-2012-07-17-windows sdk our game starts crashing with this error 15:10:53 engine\render\direct3d9\D3D9RenderState.cpp:484: Assertion: 'num >= 0 && num < NUM_TEXTURES && "D3D9RenderState::setTexture(): bad texture number"' The SDK just prior to this does not cause this crash. Any pointers would greatly help us.Is this a known problem that has been fixed in the latest SDK? Also, I've attached the callstack in case that helps.
ulf.schroeter Posted September 28, 2012 Posted September 28, 2012 Do you have any customized shaders or material definitions based on previous SDK releases ? If so you might have to adapt them
frustum Posted September 29, 2012 Posted September 29, 2012 You have more than 16 active texture in the material. Check your *_reflection_cube_base base materials.
Recommended Posts