Jump to content

[SOLVED] Updating to the UnigineSDK-binary-2012-07-17-windows causes a crash


photo

Recommended Posts

Posted

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. post-225-0-09467600-1348838422_thumb.png

Posted

Do you have any customized shaders or material definitions based on previous SDK releases ? If so you might have to adapt them

Posted

You have more than 16 active texture in the material. Check your *_reflection_cube_base base materials.

×
×
  • Create New...