Material error
by Duion · in Torque 3D Beginner · 03/25/2013 (3:16 pm) · 7 replies
Every time I load a level I get several errors in the console, it says "[MaterialList::mapMaterials] Unable to find material for texture: soil_rough_base" this goes for every terrain layer and after that there is "[Material::mapMaterial] - Cannot map unnamed Material" also for every layer.
This does not do anything visible, but I would like to solve that, I don't like a list of red error messages each time.
This does not do anything visible, but I would like to solve that, I don't like a list of red error messages each time.
About the author
http://www.duion.com - Human Paradigm Specialist
#2
03/26/2013 (5:15 am)
Quote:Some... not all. To be honest I've not even looked at clearing this particular message. But if anyone would like to present a solution pull requests are welcome.
Console spam. I believe that it's marked for cleanup in the next T3D 2.0 version.
#3
03/29/2013 (9:11 am)
I second that, I have these buggers in my console window too.... Why you evil bug... *** Stage 1 load *** Stage 2 load [MaterialList::mapMaterials] Unable to find material for texture: grass_lush02 [MaterialList::mapMaterials] Unable to find material for texture: rock02 [MaterialList::mapMaterials] Unable to find material for texture: gravel04 [MaterialList::mapMaterials] Unable to find material for texture: sand02 [MaterialList::mapMaterials] Unable to find material for texture: grass_rock01 [MaterialList::mapMaterials] Unable to find material for texture: grass_dying02 [MaterialList::mapMaterials] Unable to find material for texture: rock02
#4
in that case those should be consider as error.not spam.
03/29/2013 (10:09 am)
as far i can remember those spam only shows when u remove terrain material defination that has been used in your terrian.in that case those should be consider as error.not spam.
#5
03/29/2013 (11:03 am)
I get that for every layer in every level.
#6
You could also change it into to a warning instead of an error; as the blue doesn't look that dramatic as red.
04/15/2013 (11:13 am)
I commented it out at line 351 and 357 from materialList.cpp when I couldn't look at those any longer.You could also change it into to a warning instead of an error; as the blue doesn't look that dramatic as red.
#7
04/15/2013 (11:29 am)
Issue has been fixed in the T3D development branch. The problem was incomplete material data.
Associate Steve Acaster
[YorkshireRifles.com]