poly-hammer / BlenderTools

Blender addons that improve the game development workflow between Blender and Unreal.
https://poly-hammer.github.io/BlenderTools/
MIT License
172 stars 11 forks source link

Send2ue Trouble exporting anything other than the blender cube #78

Open frankr2994 opened 4 weeks ago

frankr2994 commented 4 weeks ago

I can export the blender cube seemingly fine with default settings. However when trying to export any other object I am getting mesh of random size, materials not finding textures. I'm sure alot of this plays into my lack of blender and unreal knowledge. But I'd appreciate any help. I am trying to assist some others streamline modding into a VR game. The objects I'm trying to import into unreal are guns that are made up of multiple meshes. They load and color fine into blender.

JoshQuake commented 4 weeks ago

If you'd like to attach your blend I can take a look and tell you what's going on

frankr2994 commented 4 weeks ago

https://drive.google.com/file/d/1-bHtVZqQPseA2yGlFj4-Ot2fxFlWc5p-/view

frankr2994 commented 4 weeks ago

Sorry didn't mean to close this. I appreciate any help you offer.

JoshQuake commented 4 weeks ago

Hmm okay so there's a couple things going on.

frankr2994 commented 4 weeks ago

Ok well I really appreciate you taking a look. For what I need I found that removing the rig and bones from export let me get the meshes over correctly. All the materials get made blank but atleast are moved over and named correctly. I imported all my texture maps separately so I can more or less build the materials without much effort. I will need to keep the parts separate instead of a single object.

So the only thing that could possibly speed it up more for me is if there was a way for the materials to locate and grab the texture maps I already have sitting in unreal editor.

JoshQuake commented 4 weeks ago

Blender's FBX exporter doesn't seem to be very reliable in seeing the required textures if there are nodes between the sampler and BSDF. Further testing is needed.

There are a couple ways to go about resolving this but it won't be a priority for now. I think it can definitely be improved, though.

For now if you wish you could create a Send2UE extension to do something like crawl the materials for the textures manually pre import, find them in UE, and set the material up post import. Though that's understandably a lot of work for your purposes.