W1246

Posted By: MTD

W1246 - 11/27/11 21:00

Today tested my project and got some interesting error:


Is it possible that there is some sprite limit in engine?
Maybe have created too much black holes?

Hope that posted in the right forum part blush
Posted By: alibaba

Re: W1246 - 11/27/11 22:17

I think E_FAIL means Epic Fail grin
Posted By: sivan

Re: W1246 - 11/28/11 08:54

sometimes I used more than 20.000 sprites and it worked fine (but slow)...

but if W1246 means war in 1246: Béla IV. king of Hungary won a battle over Friderich II. prince of Austria, who died there. it was the end of the Babenberg dynasty, and Austria was finally taken by the Habsburgs... laugh
Posted By: EvilSOB

Re: W1246 - 11/28/11 18:01

I think you check through your code and make sure to set
Babenberg = NULL; AFTER you have set Austria = Habsburgs;...

Other than that, itsa a tricky one. E_Fail seems to be a GENERIC failure code.
I would be inclined to::
1: Disable any shaders and try again. (maybe a video-memory issue)
2: Be aware of you particle count. (remember to increase max_particles)
3: Watch for memory allocations. Dont try to allocate too much per frame.


Best of luck!
Posted By: jcl

Re: W1246 - 11/29/11 10:26

Yes, E_FAIL is indeed the general DirectX error code. It has certainly nothing to do with the number of sprites and particles, but can be some issue with your DirectX or video driver installation. It can also be some damaged model or image file. That's the first things to check.
© 2024 lite-C Forums