Roughness and Metallic texture generation error, "Texture path is missing."

Hi,

We have a problem when we export to glb from 3dsmax with the roughness and metallic texture combination procedure, the exporter complains about this generated texture to be missing.

how can we go about resolving this?

here’s the log:


Exportation started: E:\2019_PROJECT\3D\GLB\Climatiseur_Stulz.glb
Exporting nodes
ClimatiseurStulz
Total meshes: 1
Update camera rotation and position
Update light rotation for glTF export
No camera defined
No light defined
A default hemispheric light was added for your convenience
Exporting materials
GLTFExporter | Exportation started
GLTFExporter | Exporting nodes
GLTFExporter | Exporting meshes
GLTFExporter | Exporting skins, lights and cameras
GLTFExporter | Exporting materials
GLTFExporter.Material | Export material named: Climatiseur_Stulz
GLTFExporter.Material | create gltfMaterial
GLTFExporter.Texture | Export texture named: ClimatiseurStulz_Normal.png
GLTFExporter.Texture | create sampler
GLTFExporter.Texture | create image
GLTFExporter.Texture | create texture
GLTFExporter.Material | create gltfPbrMetallicRoughness
GLTFExporter.Texture | Export texture named: ClimatiseurStulz_BaseColor.png
GLTFExporter.Texture | create sampler
GLTFExporter.Texture | create image
GLTFExporter.Texture | create texture
GLTFExporter.Texture | Export texture named: ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg
Texture path is missing.
GLTFExporter | Nb materials exported: 1
GLTFExporter | Exporting Animations
GLTFExporter | Saving to output file
C:\Users\Fred\AppData\Local\Temp\zi1mv4zp.5hp\Climatiseur_Stulz.glb -> E:\ 2019_PROJECT\3D\GLB\Climatiseur_Stulz.glb
Exportation done in 28,98s: E:\ 2019_PROJECT\3D\GLB\Climatiseur_Stulz.glb


here’s the screenshot of the material setup in 3dsmax, both roughness and metallic map are setup properly and do exists:

not sure what we can do to fix this.

Thanks in advance

Bye,

Jean

Adding @Drigax for the issue. In the meantime would it be possible to have a repro ???

This might help him having a fix faster.

Hi,

Thanks for the prompt reply!

I can’t upload directly ( new user restriction unfortunatly…), so here’s a dropbox link to download:

https://www.dropbox.com/s/ygwmr82u00s0ylu/Asset.zip?dl=1

Bye,

Jean

1 Like

Hi @jeanfabre,

I’m not sure how to help, I loaded your provided scene, and it exported without error:

Exportation started: V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\export.gltf
Exporting nodes
	ClimatiseurStulz
	Total meshes: 1
	Update camera rotation and position
	Update light rotation for glTF export
	No camera defined
	No light defined
	A default hemispheric light was added for your convenience
Nodes exported in 0.14s
Exporting materials
Materials exported in 4.27s
Skeletons exported in 0.15s
GLTFExporter | Exportation started
GLTFExporter | Exporting nodes
GLTFNodes exported in 0.04s
GLTFExporter | Exporting meshes
GLTFMeshes exported in 0.14s
GLTFExporter | Exporting skins, lights and cameras
GLTFSkin GLTFLights GLTFCameras exported in 0.09s
GLTFExporter | Exporting materials
	GLTFExporter.Material | Export material named: Climatiseur_Stulz
		GLTFExporter.Material | create gltfMaterial
		GLTFExporter.Texture | Export texture named: ClimatiseurStulz_Normal.png
			GLTFExporter.Texture | create sampler
			GLTFExporter.Texture | create image
			GLTFExporter.Texture | create texture
		GLTFExporter.Material | create gltfPbrMetallicRoughness
		GLTFExporter.Texture | Export texture named: ClimatiseurStulz_BaseColor.png
			GLTFExporter.Texture | create sampler
			GLTFExporter.Texture | create image
			GLTFExporter.Texture | create texture
		GLTFExporter.Texture | Export texture named: ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg
			GLTFExporter.Texture | create sampler
			GLTFExporter.Texture | create image
			GLTFExporter.Texture | write image 'ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg' to 'C:\Users\nibarlow.REDMOND\AppData\Local\Temp\shllzz05.3sp\ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg'
			GLTFExporter.Texture | create texture
	GLTFExporter | Nb materials exported: 1
GLTFMaterials exported in 0.49s
GLTFExporter | Exporting Animations
GLTFAnimations exported in 0.08s
GLTFExporter | Saving to output file
C:\Users\~~~~\AppData\Local\Temp\shllzz05.3sp\ClimatiseurStulz_BaseColor.png -> V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\ClimatiseurStulz_BaseColor.png
C:\Users\~~~~\AppData\Local\Temp\shllzz05.3sp\ClimatiseurStulz_Normal.png -> V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\ClimatiseurStulz_Normal.png
C:\Users\~~~~\AppData\Local\Temp\shllzz05.3sp\ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg -> V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\ClimatiseurStulz_RoughnessClimatiseurStulz_Metallic.jpg
C:\Users\~~~~\AppData\Local\Temp\shllzz05.3sp\export.bin -> V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\export.bin
C:\Users\~~~~\AppData\Local\Temp\shllzz05.3sp\export.gltf -> V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\export.gltf
Exportation done in 5.21s: V:\3D\Debugging\Exporters\Forum_roughness-and-metallic-texture-generation-error-texture-path-is-missing\Asset\Export\export.gltf

What version of the exporter are you using, and what settings are you using for export?

2 Likes