Spellcaster Studios

Make it happen…

An yet, more bugs…

The more we approach the end of the development cycle, the more bugs we fine… or more precisely, the less we can ignore them and hope they don’t happen again… Smile

I’m having a nasty bug that I have no idea what causes it and I can’t replicate it consistently…

When I run the game in “final mode”, with the Direct3D renderer, and with the debug flags on DirectX turned on (which enforce more validation and force a crash on error), I sometimes get a crash because “The Index stream does not have the required number of indices: DrawIndexedPrimitive failed”.

Well, I understand the cause of the crash, and I want to fix it, but I can’t find a single place that might cause this to happen! I increase the index count when I add an index, so this should be impossible, but apparently it’s not… There’s probably a stilly fringe case somewhere that causes this, but I have no idea where, and since I can’t replicate it reliably (sometimes it happens on the first loading screen, other times it takes 30 minutes), it makes it extremely hard to track!

screen564

Anyway, I’m looking into this and other small bugs, trying to get enough courage for the next big task: stop using an extremely old version of FMod and start using the latest one, which has support for Mac and Linux… Or find another audio API, I’m cool… Smile

Now listening to “Educated Horses” by “Rob Zombie”

Link of the Day: This is advertisement well done… I totally want one of these! Open-mouthed smile

Comment