Mesh normals error in fbx export, Blender to Unreal #117470
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#117470
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-6.5.0-14-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 525.147.05
Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2024-01-23 20:10, hash:
99f9084bee58
Worked: 4.0.2 official
Short description of error
Something change in the fbx exporter in Blender 4.1 alpha, same file same model same settings fail upon importing in unreal 5.3, however the fbx exporter in 4.0 works fine.
4.1 alpha
4.0
Note: if i choose to recalculate normals in the unreal importer it would fix the problem but loose custom normals, also importing in blender 4.1 works fine, the only place i saw the error its unreal because at the moment its the only software where im importing meshes, didn't test other softwares.
Exact steps for others to reproduce the error
FBX EXPORT BUG.blend
Export fbx using this settings
Try importing it in unreal 5.3 in blender from blender to blender works fine.
Here are the fbx exported to sabe time.
FBX EXPORT BUG 4-0.fbx
FBX EXPORT BUG 4-1.fbx
If this is usefull in any way, this is the mesh broken in unreal exported to fbx so you can see what unreal import's, it has a bounding box, probably the collider created in unreal, i didn't remove it so you get the pure fbx model.
Broken mesh.fbx
cc @Mysteryem
I did suspect this might happen, which is why I got the normal export changes into 4.1 early (https://developer.blender.org/docs/release_notes/4.1/add_ons/#fbx-io), but I was not expecting this to happen with Unreal because it uses the FBX SDK.
Both Unity and Autodesk's own FBX Review program import the
FBX EXPORT BUG 4-1.fbx
without issue, as does Microsoft 3D Viewer.Unreal 5.3 is documented as importing using FBX 2020.2 (https://docs.unrealengine.com/5.3/en-US/fbx-animation-pipeline-in-unreal-engine/), yet Unity 2020.3.41f1 also uses FBX SDK version 2020.2 and imports the file without issue.
The
Broken mesh.fbx
exported by Unreal has invalid normals, as reported by FBX Review:I suspect this is an issue with Unreal and that it should be reported to them, though one or both of the normal export changes to FBX in Blender 4.1 may want to be reverted to ensure compatibility across external software.
I'll find out exactly which part of the normal changes it is that Unreal doesn't like and report back when I have more info.
Ok, so Unreal just doesn't support face normals for whatever reason. It works fine with vertex normals and corner normals, and with either of the
Direct
(one normal per element) orIndexToDirect
(an index into a unique normals array per element) reference modes.Should be reported to Unreal then, closing for now.
Thanks @Mysteryem :)