Gildor's Forums

Author Topic: Export error in Json (glTF)  (Read 90 times)
JoseCatspar
Newbie
*
Posts: 12


View Profile
Export error in Json (glTF)
« on: November 14, 2021, 14:54 »

I am having trouble with export of animations. The UE version is 4.26, UE Viewer 1576.

Game is Succubus
When I view the animations they are fine, but when exporting it throws this error:

ObjectProperty: unknown UAnimSequence4 CurveCompressionSettings
Loading AnimSequence4 Succubuss_start from package /Game/Blueprints/Torture/Animations/Succubuss_start.uasset
ObjectProperty: unknown UAnimSequence4 BoneCompressionSettings
ObjectProperty: unknown UAnimSequence4 CurveCompressionSettings

When I try to import it I get a json error, I check with both Blender and also UE4 gltf import and it threw an error.



« Last Edit: November 14, 2021, 17:26 by Gildor » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json
« Reply #1 on: November 14, 2021, 15:20 »

What error you have in Blender?
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json
« Reply #2 on: November 14, 2021, 15:45 »

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\GUI.py", line 84, in draw
    row.label(text=GetCustomPropName(scene.vs,"export_format",":"))
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\utils.py", line 302, in GetCustomPropName
    return "".join([pgettext(typing.get_type_hints(type(data))[prop][1]['name']), suffix])
TypeError: '_PropertyDeferred' object is not subscriptable
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json
« Reply #3 on: November 14, 2021, 15:50 »

Googling showed me that this error happens in some Source Engine tools. It is NOT related to glTF etc.
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json
« Reply #4 on: November 14, 2021, 15:55 »

The file format is unreadable in both Blender and the Gltf importer from Epic, any suggestions?

Trying to find the cause, if it's me or if it's an error in export.

Using PSK/PSA export is fine, any setting in the gltf that I might of messed up?
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json
« Reply #5 on: November 14, 2021, 16:29 »

Send the gltf file to me.
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json
« Reply #6 on: November 14, 2021, 17:02 »

PSK threw this error:
Python: Traceback (most recent call last):
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\GUI.py", line 84, in draw
    row.label(text=GetCustomPropName(scene.vs,"export_format",":"))
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\utils.py", line 302, in GetCustomPropName
    return "".join([pgettext(typing.get_type_hints(type(data))[prop][1]['name']), suffix])
TypeError: '_PropertyDeferred' object is not subscriptable

location: <unknown location>:-1
Python: Traceback (most recent call last):
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\GUI.py", line 84, in draw
    row.label(text=GetCustomPropName(scene.vs,"export_format",":"))
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\utils.py", line 302, in GetCustomPropName
    return "".join([pgettext(typing.get_type_hints(type(data))[prop][1]['name']), suffix])
TypeError: '_PropertyDeferred' object is not subscriptable

location: <unknown location>:-1


Here is the gltf file and the psa file. It's the same Armature for both meshes.

« Last Edit: November 14, 2021, 19:04 by JoseCatspar » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json (glTF)
« Reply #7 on: November 14, 2021, 17:47 »

I think I've found the core of problem with glTF - there are a few animations with zero playback speed. Fixed.
You'll need to re-export glTF with updated umodel.
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json (glTF)
« Reply #8 on: November 14, 2021, 18:31 »

That's weird, I know animations sometimes have single frame animations for blending purposes.

Thanks.
« Last Edit: November 14, 2021, 18:33 by JoseCatspar » Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json (glTF)
« Reply #9 on: November 14, 2021, 19:03 »

Another issue I've run into is "Virtual Textures Not Supported"

Is that Fur/Hair material?

FTexturePlatformData<< <- UTexture2D::Serialize4 <- UTexture2D::Serialize <- LoadObject: Texture2D'T_FelianARM_UDIM.T_FelianARM_UDIM', pos=4B2, ver=522/0 (unversioned), game=ue4.26 <- UObject::EndLoad <- LoadWholePackage: /Game/Character/Mesh+M+T/Customisation/UDIM/Felian/T_FelianARM_UDIM.uasset <- CUmodelApp::ShowPackageUI <- Main: umodel_build=1576
Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json (glTF)
« Reply #10 on: November 14, 2021, 20:15 »

Another issue I've run into is "Virtual Textures Not Supported"
May be unsupported game, or wrong engine version. Check the thread for this game, if it does exist.

BTW did you check glTF? If everything ok with it now?
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json (glTF)
« Reply #11 on: November 14, 2021, 21:07 »

I forgot to check and the Json error is still there.

Bad glTF: json error: Expecting value: line 1557498 column 17 (char 45108136)
Python: Traceback (most recent call last):
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\GUI.py", line 84, in draw
    row.label(text=GetCustomPropName(scene.vs,"export_format",":"))
  File "C:\Users\jothe\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\utils.py", line 302, in GetCustomPropName
    return "".join([pgettext(typing.get_type_hints(type(data))[prop][1]['name']), suffix])
TypeError: '_PropertyDeferred' object is not subscriptable

location: <unknown location>:-1

Here a link for the file:
https://www.dropbox.com/sh/ephtash32pyorkj/AAD1ueueRPYHVOJtU8WElDEaa?dl=0

« Last Edit: November 14, 2021, 21:49 by JoseCatspar » Logged
Gildor
Administrator
Hero Member
*****
Posts: 7997



View Profile WWW
Re: Export error in Json (glTF)
« Reply #12 on: November 14, 2021, 22:34 »

From your glTF:
Quote
"generator" : "UE Viewer (umodel) build 1576",

The UModel which I pushed recently has build number 1579.
Logged
JoseCatspar
Newbie
*
Posts: 12


View Profile
Re: Export error in Json (glTF)
« Reply #13 on: November 15, 2021, 00:10 »

It was my fault, I thought I had updated, must of unzipped an old UE viewer archive.

It works fine now.

Thanks again.
Logged
spiritovod
Hero Member
*****
Posts: 768


View Profile
Re: Export error in Json (glTF)
« Reply #14 on: November 15, 2021, 19:12 »

Another issue I've run into is "Virtual Textures Not Supported"
Well, they're actually using virtual textures there. Usually such error is caused by additional properties in textures data, and this is the first time I see their implementation in real game (not tech demo or something). Considering how rare this format is, I doubt it will be supported in umodel in near future.

For others willing to take a look, here are some samples: link

Logged
Jump to:  

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