Crash to Desktop: Model .dat has too many materials

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2483
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Crash to Desktop: Model .dat has too many materials

Post by Griff »

Windows 7, 64bit Oolite trunk build - 1.77.1.5661

I've uploaded an oxp that crashes Oolite to the desktop when it tries to draw the ship in the ship parade on the title screen:
https://www.box.com/s/byd9vien2wwv7cbcmuyv (11Kb) includes ship oxp and latest.log file
It's a fault with the model (I'd forgotten to remove some redundant material groups before converting from an obj to a dat)

Code: Select all

14:25:56.500 [mesh.load.failed.tooManyMaterials]: ***** ERROR: model griff_arcelite_ferdelance.dat has too many materials (maximum is 8)
re-exporting the model with just the one material works OK and Oolite doesn't crash
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Crash to Desktop: Model .dat has too many materials

Post by cim »

Thanks. Fixed in r5662.
Post Reply