Prefab texture errors
by Mark Barner · in Constructor · 04/10/2007 (4:10 pm) · 3 replies
When I put a prefab into the scene the textures are fine. When I create a new album with textures... then put a prefab into the scene... the prefab textures show the error texture. But the proper textures are there when you export into the engine. Anyone know what is going on with this? Acts like it is defaulting the prefabs textures to the new texture album and can not find the textures.
#2
I don't think that the prefabs themselves have album information specified (they were created before this was a standard feature) - so when they load up C'tor searches for their textures by name. If it finds multiple textures of that name in different albums, it won't know what to do, so it will use an error texture to let you know that it doesn't know which texture to use.
If you open each prefab prior to creating your new folder, and resave, it should add in the album information on all the textures, thus preventing this error in the future so long as the original album still exists.
04/11/2007 (11:00 am)
If I understand you right, you are running into a problem when you load some of the existing prefabs into a scene once you have created a new texture album. If the new texture album contains textures of the same names as those that are used on the prefabs, then it makes sense that this would happen.I don't think that the prefabs themselves have album information specified (they were created before this was a standard feature) - so when they load up C'tor searches for their textures by name. If it finds multiple textures of that name in different albums, it won't know what to do, so it will use an error texture to let you know that it doesn't know which texture to use.
If you open each prefab prior to creating your new folder, and resave, it should add in the album information on all the textures, thus preventing this error in the future so long as the original album still exists.
#3
04/11/2007 (11:13 am)
Thanks Alex. That fixed the problem.
Torque Owner Mark Barner
mbarnatl