Repro Rate: 3/3
This issue was reproduced in //UE5/Release-5.1 at CL 23058290.
This is confirmed to be a regression since the errors do not occur on the previous version and is regression tested on //UE5/Release-5.0 at CL 20979098.
Steps:
import unreal reg = unreal.AssetRegistryHelpers.get_asset_registry() unreal.log(reg.get_assets_by_class(unreal.TopLevelAssetPath("/Script/LevelSequence.LevelSequence")))
Actual Result: Results in errors.
LogPython: Error: Traceback (most recent call last): LogPython: Error: File "C:/Users/Jan.Yu/Desktop/my_script.py", line 3, in <module> LogPython: Error: unreal.log(reg.get_assets_by_class("LevelSequence")) LogPython: Error: TypeError: AssetRegistry: Failed to convert parameter 'class_path_name' when calling function 'AssetRegistry.GetAssetsByClass' on 'Default__AssetRegistryImpl' LogPython: Error: TypeError: NativizeProperty: Cannot nativize 'str' as 'ClassPathName' (StructProperty) LogPython: Error: TypeError: NativizeStructInstance: Cannot nativize 'str' as 'TopLevelAssetPath' LogPython: Error: Exception: TopLevelAssetPath: Struct has 2 initialization parameters, but the given sequence had 13 elements
Expected Result: It should print out a list of Level Sequence Assets in the Output Log.
LogPython: [{object_path: "/Game/NewLevelSequence.NewLevelSequence", package_name: "/Game/NewLevelSequence", package_path: "/Game", asset_name: "NewLevelSequence", asset_class: "LevelSequence"}]
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
How can actor's procedural mesh component variables translate positions with acotr?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
Hey, why do i get this when i snap two similar meshes together?
What properties of the progress bar can be used for drag and drop highlighting?
What property of the Slider is the image used when dragging?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170724 in the post.
0 |
Component | UE - Foundation - Core |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.2 |
Created | Nov 21, 2022 |
---|---|
Resolved | Jan 5, 2023 |
Updated | Jan 11, 2023 |