question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot export as GLB an imported GLB because of _BumpMap

See original GitHub issue

Describe the bug I import a GLB, then export it. I have an error when export.

I have an example project : https://github.com/Morgan-6Freedom/GLBExporter

Files

RoueTest.zip

This is the material of the imported GLB : image

To Reproduce Steps to reproduce the behavior:

  1. Import a GLB with importer.InstantiateMainScene()
  2. Export the gameobject from the scene with export.SaveToFileAndDispose()
  3. see error in Unity console image
  4. Look at the export material : image

Expected behavior The exporter should be able to export a glb with a normal map and a metallic map and an occlusion map

Desktop (please complete the following information):

  • glTFast version 4.4.5
  • Unity Editor version 2020.3.20f
  • Render Pipeline and version Builtin pipeline
  • Platform: Editor

additionally (if significant for the bug):

I added that but doesn’t seems to fix the issue image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
attenedercommented, Apr 6, 2022

@Morgan-6Freedom yes, normal map export works, as stated in the documentation.

0reactions
Morgan-6Freedomcommented, Mar 31, 2022

Hello. It seems that the 4.6.0 fix the occlusion map & the metallic. Does it fix the normal map ? https://github.com/atteneder/glTFast/releases/tag/v4.6.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bump Maps are missing after exporting as glTF 2.0
1 Answer. The glTF format uses normal maps, not bump maps 1. If you can bake your bump map into a normal map...
Read more >
Error on importing a simple "glb" exported from Blender
Hello Babylon community, I've exported a super simple glb from Blender for test purposes. Here it is: glb If you try to import...
Read more >
Can't export normal map when exporting to gltf/glb
I've got a mesh that I've retopologized and UV mapped outside of reality capture, then re-imported and reprojected diffuse and normal onto.
Read more >
Need help exporting material to Glb/Gltf format : r/blenderhelp
I did some basic testing with materials but when i export to Glb it doesn't show the material only the base color. So...
Read more >
How to fix missing materials and textures when exporting a ...
The problem: my exported glTF file doesn't have a texture. When I drag-and-dropped the exported .glb file into the awesome Babylon JS Sandbox, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found