You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wow @nafeesb, this is great! I've just started a new project for 4.24 and I was thinking to use this project and saw that it was compatible with 4.23, but then opened the Issues section and BOOM, there was your open ticket. Amazing.
Thanks for the report @Airyzz . I am able to reproduce the problem. It seems like UStaticMesh semantics changed at some point. Using the common new object creation pathway won't work. I'll try to implement at workaround.
Thanks, it seems to be working here. However calling unreal_engine.delete_asset does not seem to be working with UserDefinedStruct type. I have tried querying the path name and passing a hard reference, but it returns none and the delete operation does not take place
calling delete_asset with an invalid path returns Exception: unable to find asset /Game/Scripts/DataStructure.uasset
when calling a with a valid path, It runs, But then trying to create a new asset returns Exception: a structure with this name already exists in the package
Edit: OK looking into the issue a bit further ue.delete_asset() is working with some asset types:
UTexture2D - Expected behaviour, File is removed from content browser
UserDefinedStruct - The command runs with no error, However the struct asset is still in the content browser. It is marked with a * (like the file has been changed). Looking at the directory in a file manager (where the .uasset is located), the file is removed. However, Pressing save all, The .uasset will be recreated by the editor and the following message is output:
Moving 'A:/Nadir/folio/UE4/SleepingQ422/Saved/DataStructure06B4A0464B6B39922160CEB0A0256E17.tmp' to 'A:/Nadir/folio/UE4/SleepingQ422/Content/Scripts/DataStructure.uasset'
So it seems like the struct is being removed by the command, But there is a cached table which contains the data which is not updated.
Tried this in 4.22 and it has the same error too, So dont think its 4.24 specific
Also, If anyone knows. Can I save .uassetfiles and access them during runtime? What is the best way to generate a data table during runtime and access it via BP
A few things need to be updated to work with UE v4.24. I have done an initial pass, and will link that pr to this issue.
Great you're working on this. I need Python working with UE 4.24 because specific functions (StaticMeshSocket) that it appears only work on this version. I'm not sure if I can help with this but I'll try to do it. BR and thx a lot for your efforts!.
"sequencer_make_new_spawnable" this command dont work. LogPython: Error: unable to access sequencer . i find the c ++ code ,but i dont know how to change it .
Activity
nafeesb commentedon Dec 18, 2019
Here's the pr #817
sanchan commentedon Dec 18, 2019
Wow @nafeesb, this is great! I've just started a new project for 4.24 and I was thinking to use this project and saw that it was compatible with 4.23, but then opened the Issues section and BOOM, there was your open ticket. Amazing.
Thank you so much!
Airyzz commentedon Dec 29, 2019
Hi @nafeesb , i am using your linked fork in ue4 4.24, and there seems to be some issue with creating new static meshes.
when following the tutorial here, a crash occurs when creating a new StaticMesh class
sm = StaticMesh(object_name, ue.get_or_create_package(package_name))This code works perfectly in a seperate 4.17 build I am using
here is the crash report:
nafeesb commentedon Jan 2, 2020
Thanks for the report @Airyzz . I am able to reproduce the problem. It seems like UStaticMesh semantics changed at some point. Using the common new object creation pathway won't work. I'll try to implement at workaround.
darrickyee commentedon Jan 8, 2020
Thanks for starting this! Is there any word on when 4.24 might officially be supported?
Tokusei commentedon Jan 8, 2020
Thanks, it seems to be working here. However calling unreal_engine.delete_asset does not seem to be working with UserDefinedStruct type. I have tried querying the path name and passing a hard reference, but it returns none and the delete operation does not take place
calling delete_asset with an invalid path returns
Exception: unable to find asset /Game/Scripts/DataStructure.uassetwhen calling a with a valid path, It runs, But then trying to create a new asset returns
Exception: a structure with this name already exists in the packageEdit: OK looking into the issue a bit further
ue.delete_asset()is working with some asset types:UTexture2D - Expected behaviour, File is removed from content browser
UserDefinedStruct - The command runs with no error, However the struct asset is still in the content browser. It is marked with a * (like the file has been changed). Looking at the directory in a file manager (where the .uasset is located), the file is removed. However, Pressing save all, The .uasset will be recreated by the editor and the following message is output:
Moving 'A:/Nadir/folio/UE4/SleepingQ422/Saved/DataStructure06B4A0464B6B39922160CEB0A0256E17.tmp' to 'A:/Nadir/folio/UE4/SleepingQ422/Content/Scripts/DataStructure.uasset'So it seems like the struct is being removed by the command, But there is a cached table which contains the data which is not updated.
Tried this in 4.22 and it has the same error too, So dont think its 4.24 specific
Also, If anyone knows. Can I save .uassetfiles and access them during runtime? What is the best way to generate a data table during runtime and access it via BP
jovenluk commentedon Jan 14, 2020
Great you're working on this. I need Python working with UE 4.24 because specific functions (StaticMeshSocket) that it appears only work on this version. I'm not sure if I can help with this but I'll try to do it. BR and thx a lot for your efforts!.
darrickyee commentedon Jan 28, 2020
Any updates on this? Haven't seen @rdeioris around here in a while...
Quicksand0 commentedon Feb 9, 2020
"sequencer_make_new_spawnable" this command don
t work. LogPython: Error: unable to access sequencer . i find the c ++ code ,but i dont know how to change it .