2025-07-19 21:30 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003531Spring engineGeneralpublic2013-03-11 23:02
ReporterCarRepairer 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version93.0 
Target VersionFixed in Version 
Summary0003531: Assimp pulling wrong texture file
DescriptionAssimp is supposed to pull <modelname>.png as tex1 but it's pulling <modelname>2.png as tex1.

In my example I have shrine.dae, shrine.png and shrine2.png. It's pulling shrine2.png as tex1 according to the output log.

[f=0000022] [Model] Loading model: objects3d/shrine.dae
[f=0000022] [Model] No meta-file 'objects3d//shrine.lua'. Using defaults.
[f=0000022] [Model] Found valid model metadata in 'objects3d//shrine.lua'
[f=0000022] [Model] Importing model file: objects3d/shrine.dae
[f=0000022] [Model] Processing scene for model: objects3d/shrine.dae (2 meshes / 1 materials / 0 textures)
[f=0000022] [Model] Loading textures. Tex1: 'unittextures/shrine2.png' Tex2: 'shrine2.png'

I even tried creating shrine1.png to see if for some reason that would work, but it doesn't.

There is no reference to shrine2.png inside shrine.dae.
Steps To ReproduceSpawn unit with assimp model modelname.dae and textures modelname.png and modelname2.png. It will load the wrong texture as tex1.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0009979

CarRepairer (reporter)

I'm aware that my alphas in tex1 are full opaque, contrary to spring format, since I'm using the shader gadget I modified my textures this way intentionally.
+Notes

-Issue History
Date Modified Username Field Change
2013-03-07 19:52 CarRepairer New Issue
2013-03-07 19:52 CarRepairer File Added: shrine.dae
2013-03-07 19:52 CarRepairer File Added: shrine.png
2013-03-07 20:06 CarRepairer File Added: shrine2.png
2013-03-07 20:08 CarRepairer Note Added: 0009979
2013-03-07 20:16 Kloot Changeset attached => spring develop 69a1f8f7
2013-03-07 20:16 Kloot Assigned To => Kloot
2013-03-07 20:16 Kloot Status new => resolved
2013-03-07 20:16 Kloot Resolution open => fixed
2013-03-11 23:02 Kloot Changeset attached => spring release 3d882d6d
+Issue History