Blender-For-UnrealEngine-Addons icon indicating copy to clipboard operation
Blender-For-UnrealEngine-Addons copied to clipboard

LOD Exporting issue

Open WanderFox opened this issue 1 month ago • 5 comments

Hi! When I try to export mesh with LODs it only exports the last LOD. For test I have downloaded your example project but it has the same issue

Blender: 4.5 LTS Python: 3.12 OS: Windows 11

Here you can check exporting logs:

- Clean before export, 0 ms, Success
- Prepare all export, 0 ms, Success
- TOTAL EXPORT, 75 ms, Success
-    |Export 'Suzanne' as Static Mesh., 75 ms, Success
-    |   |Preparing scene for package export: Suzanne, 0 ms, Success
-    |   |Exporting package: Suzanne, 53 ms, Success
-    |   |   |Prepare export, 21 ms, Success
-    |   |   |   |Duplicate asset selection, 0 ms, Success
-    |   |   |   |   |Prepare duplicate, 0 ms, Success
-    |   |   |   |   |Duplicate, 0 ms, Success
-    |   |   |   |   |Prepare clean, 0 ms, Success
-    |   |   |   |   |Clean, 0 ms, Success
-    |   |   |   |   |Update select, 0 ms, Success
-    |   |   |   |Apply modifiers, 18 ms, Success
-    |   |   |   |   |Prepare for apply modifiers, 0 ms, Success
-    |   |   |   |   |Apply modifiers for: Suzanne, 18 ms, Success
-    |   |   |   |   |   |Search modifiers to apply, 0 ms, Success
-    |   |   |   |   |   |Select object for apply modifiers, 0 ms, Success
-    |   |   |   |   |   |Make single user, 0 ms, Success
-    |   |   |   |   |   |Apply modifier: Subdivision (SUBSURF), 18 ms, Success
-    |   |   |Process export, 31 ms, Success
-    |   |   |Clean after export, 0 ms, Success
-    |   |Preparing scene for package export: Suzanne_Lod1, 0 ms, Success
-    |   |Exporting package: Suzanne_Lod1, 5 ms, Success
-    |   |   |Prepare export, 1 ms, Success
-    |   |   |   |Duplicate asset selection, 0 ms, Success
-    |   |   |   |   |Prepare duplicate, 0 ms, Success
-    |   |   |   |   |Duplicate, 0 ms, Success
-    |   |   |   |   |Prepare clean, 0 ms, Success
-    |   |   |   |   |Clean, 0 ms, Success
-    |   |   |   |   |Update select, 0 ms, Success
-    |   |   |   |Apply modifiers, 0 ms, Success
-    |   |   |   |   |Prepare for apply modifiers, 0 ms, Success
-    |   |   |   |   |Apply modifiers for: Suzanne_Lod1, 0 ms, Success
-    |   |   |   |   |   |Search modifiers to apply, 0 ms, Success
-    |   |   |Process export, 3 ms, Success
-    |   |   |Clean after export, 0 ms, Success
-    |   |Preparing scene for package export: Suzanne_Lod2, 0 ms, Success
-    |   |Exporting package: Suzanne_Lod2, 12 ms, Success
-    |   |   |Prepare export, 8 ms, Success
-    |   |   |   |Duplicate asset selection, 2 ms, Success
-    |   |   |   |   |Prepare duplicate, 0 ms, Success
-    |   |   |   |   |Duplicate, 2 ms, Success
-    |   |   |   |   |Prepare clean, 0 ms, Success
-    |   |   |   |   |Clean, 0 ms, Success
-    |   |   |   |   |Update select, 0 ms, Success
-    |   |   |   |Apply modifiers, 1 ms, Success
-    |   |   |   |   |Prepare for apply modifiers, 0 ms, Success
-    |   |   |   |   |Apply modifiers for: Suzanne_Lod2, 1 ms, Success
-    |   |   |   |   |   |Search modifiers to apply, 0 ms, Success
-    |   |   |   |   |   |Select object for apply modifiers, 0 ms, Success
-    |   |   |   |   |   |Make single user, 0 ms, Success
-    |   |   |   |   |   |Apply modifier: Decimate (DECIMATE), 1 ms, Success
-    |   |   |Process export, 2 ms, Success
-    |   |   |Clean after export, 0 ms, Success
- Clean after all export, 0 ms, Success
- Write text files, 12 ms, Success

WanderFox avatar Nov 21 '25 17:11 WanderFox

Hello, hum what the issue? You only have the Lod0?

xavier150 avatar Nov 24 '25 22:11 xavier150

Hello, hum what the issue? You only have the Lod0?

If I have, for example, 4 LODs, after exporting, inside the file exists only LOD3 (0,1,2,3) and nothing else

WanderFox avatar Nov 26 '25 17:11 WanderFox

Hello, hum what the issue? You only have the Lod0?

I have now run some tests on Linux. On Linux, I have the same issue. You can see how it goes on the video below:

https://github.com/user-attachments/assets/34ae0e55-eca7-4b0b-a16a-aa629590064d

WanderFox avatar Nov 26 '25 17:11 WanderFox

Oh! I know this issue, in fact I already fixed it, but the version was never released. I'm sorry for that. It fixed in Version 4.4.4:

  • Fixed: All lods are exported with the same name, so the last lod become the lod 0 and the mesh don't have any lods.

You can try to dev branch now: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Download-And-Installation-From-Dev-Branch

Or wait the v4.4.4 release. I think release v4.4.4 soon, I just need to do some tests with Blender 5.0 before.

xavier150 avatar Nov 26 '25 22:11 xavier150

Oh! I know this issue, in fact I already fixed it, but the version was never released. I'm sorry for that. It fixed in Version 4.4.4:

  • Fixed: All lods are exported with the same name, so the last lod become the lod 0 and the mesh don't have any lods.

You can try to dev branch now: https://github.com/xavier150/Blender-For-UnrealEngine-Addons/wiki/Download-And-Installation-From-Dev-Branch

Or wait the v4.4.4 release. I think release v4.4.4 soon, I just need to do some tests with Blender 5.0 before.

Ty much! I will try the dev brunch later. Btw, ty for your great extension! It makes UE pipelines 100 times easier

WanderFox avatar Nov 28 '25 11:11 WanderFox