Page MenuHome

FBX output doesn't have embedded textures and lights
Closed, ArchivedPublic

Description

System Information
Windows 7 Pro 64bit; GF 670GTX

Blender Version
Broken: 2.75a Hash c27589e
Worked: never?

Short description of error
When bringing FBX scene, exported from Blender with lights and textures, to Unity 5.1 (stable), textures and lights are missing. As if Blender doesn't embed textures and doesn't export lights.

Video: https://www.youtube.com/watch?v=wwJ1n--ftuA

Exact steps for others to reproduce the error
Please load .blend file provided and export it as presented on the video. Load it to Unity 5.1 (free).

Event Timeline

Apparently Unity doesn't care for lights, so it's not Blender FBX fault (although I wonder if light parameters are written into FBX, so that it can be used in Unity via script transforms).

Sergey Sharybin (sergey) changed the task status from Unknown Status to Unknown Status.Sep 5 2015, 5:01 PM

Blender does export light data.

As i understood, this isn't a relevant report anymore, bug appears in a non-blender side. So thanks for the report, closing it now.

I am sorry Sergey, but don't you read the whole text? Yes, it exports lights, but it doesn't embed textures. Geez, this isn't the first bug report I post get closed because devs don't want to read my report/watch videos.

Blender does not export Cycles matérials at all. Also, please do provide a simple test case next time, not a complete complex scene…

Even if I switch to BI with BI materials, it won't export textures. Note that materials are actually exported. It's the embedding of textures that fails.

I'll make a simple cube test .blend file.

There ya go - .blend file with both BI and Cycles materials/textures. Either way, FBX output gets imported into Unity without textures.

I am also attaching FBX files. Maybe you can check it textures actually do get embedded, but just don't get imported by Unity.



*sigh* you are using nodes… this is the same as with Cycles - only static material stack is supported, no nodes!

Ok, so I got a rid of nodes and made material as in good ol' pre-nodes Blender. FBX still has no textures embedded. That's makes me wonder if FBX format itself doesn't have the capacity to store embedded images.

Did you set export settings as needed (Copy path mode, and enable little toggle on the right)?

Yes, as shown in my video.

Checked again here and texture embedding works, so please provide a valid .blend test case demonstrating your issue… So far it has only been user support, which is not the goal of this tracker!

I am sorry, but how is this not valid test case?

Can you export this case to FBX with texture embedded, so that when you import FBX to Unity the texture gets imported too?

How do you gauge that texture embedding with this test case works?

A valid test case is a .blend file using default BI materials (no nodes) with image pictures UV-mapped - afaik you uploaded no such file so far!

My bad, I thought I uploaded it already. There ya go:

Well… things work, as in, re-importing saved file in Blender loads embedded texture.

Cannot check with Unity right now, but would love to know whether it loads OK in apps like Maya or Max first anyway…