March 29, 2024, 03:39
bigger smaller reset     1020px Wide width Full width Reset   * *

Gildor's Forums

  Homepage Facebook Read news on Twitter Youtube channel Github page
Welcome, Guest. Please login or register.
Did you miss your activation email?

« previous next »
Print
Author Topic: LOD problems in ukx?  (Read 2233 times)
Takezo
Newbie
*
Posts: 2


View Profile
« on: May 03, 2012, 18:02 »

Hey Gildor and guys! What's up!

Really great job on UE Viewer, Gildor! We all owe you a lot for this tool!

By the way, can you help me with this problem? See, I'm trying to export whatever one particular ukx file has. Due to certain circumstances I'm not allowed to post the file here in public.. Hopefully, you will understand what's the problem  Wink

This ukx file has two meshes and one animation (which is linked to one of the meshes). When I'm trying to export files by "umodel.exe -export -all somefile.ukx" I get this:
******** somefile.ukx ********
*** ERROR: assertion failed: index >= 0 && index < DataCount

operator[]:10473/0 <- USkeletalMesh::BuildIndicesForLod <- ConvertLod <- USkelet
alMesh::ConvertMesh <- USkeletalMesh::Serialize <- LoadObject:SkeletalMesh'somef
ile.SomeMesh', pos=E44A4, ver=128/29, game=2001 <- UObject::EndLoad <- UnPack
age::CreateExport:somefile.ukx:4 <- LoadWholePackage:somefile <- Main

Well, I figured out that the crash happens only because of the particular mesh (let's call it Mesh1). I can export other mesh (Mesh2), but not that one (Mesh1). Strangely enough, Unreal Editor shows that mesh (Mesh1) pretty fine, but crashes on the other one (Mesh2). Even more stranger, the game that is using this ukx file is working perfectly fine, all meshes and animations are shown no problems. I tried to redigest LODs of that messy mesh in UnEd, save it and try to export again, but it shows same error.  Cry

Do you have any clue what can be done to avoid that error?

with respect,
Takezo
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7978



View Profile WWW
« Reply #1 on: May 03, 2012, 20:41 »

This is known problem with some third-party UT2004 meshes.
Logged
Takezo
Newbie
*
Posts: 2


View Profile
« Reply #2 on: May 04, 2012, 20:02 »

I guess nothing can be done then..  Cry
Well, thank you for the quick reply!  Smiley
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7978



View Profile WWW
« Reply #3 on: May 04, 2012, 20:07 »

This could be fixed, but
1) it is quite complex, requires a lot of work
2) this would lead to incompatibilities with other UE2 games so I'll need to fix reported errors during a few next months (like were this autumn-winter)
3) I have no time for this at the current moment (because of #1)
4) this would fix only a few third-party meshes from UT2004

I've checked UT2004 code and did not found a way to create such meshes using standard Unreal tools. It looks like these meshes were produced/modified with some external tool - which rips some data useless for gameplay but used by umodel.
« Last Edit: May 04, 2012, 20:25 by gildor » Logged
Print 
« previous next »
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS