Game Development Community

Crash in 1.8.1 on mac in Template

by Bryan Sawler · in Torque Game Engine Advanced · 04/03/2009 (8:24 pm) · 1 replies

I didn't see this mentioned anywhere else (I apologize if this is known thing that's been covered) but when trying to run TGEA 1.8.1 on my mac I was getting weird crashes - the code ran fine on some tests but other tests would crash - even trying to run Template would crash.

It was failing an Assert on making the cubemap because the 6 sides weren't the same resolution.
It turns out in scriptsAndAssets/data/water/, sky_z_neg.jpg was only a 4x4 and all of the other sides of the cube-map were 256x256. Resizing that one image to 256x256 solved the issue.

A stupid little issue I found and figured I'd share...

About the author

President and Founder of The Muteki Corporation Makers of such fine iPhone games as MazeFinger, Topple 2, and The Battle of Pirate Bay!


#1
04/04/2009 (1:09 am)
You can also change the AssertFailed to a AssertWarn, as its not a fatal error and makes the engine more robust in user error cases.