carla
carla copied to clipboard
"recipe for target 'package' failed" Error on "make package"
I tried exporting my custom vehicle I made In blender & UE4editor to use that in docker. When I ran make package ARGS="--packages=ez10", it crushed
My log file: log.txt
Plz help :(
@PriestOfAdanos thank you for the question.
@bernatx could you have a look at this please?
It looks like I am having very similar issues when trying to build from the 0.9.11 branch, where the make package recipe fails because of some missing assets (SM_TLights_Leds.uasset
as well as T_TrafficLighSign_op.uasset
, like with PriestOfAdanos, but also some materials). I have tried re-running the Update.sh script but it did not help.
Is there anywhere else than the AWS tar where I could manually retrieve these missing assets, which I think would solve this issue?
Looking more closely, it seems that the mentioned assets are there, but instead of being correctly linked, the faulty structures point to a hardcoded path /Game/...
There is also a number of occurences of this hardcoded path in carla/Unreal/CarlaUE4/Config/DefaultGame.ini
and Saved/Cooked/LinuxNoEditor/CarlaUE4/Metadata/CookedIniVersion.txt
I think these are autogenerated? Either way they are prone to causing issues.
I'll try switching the assets and the paths to the correct one and keep you updated about whether this helps with the package recipe
So here is a complete list of all I changed, which provided your issue is the same as what I had, should resolve the error I see in your logs:
- In
carla/Unreal/CarlaUE4/Config/DefaultGame.ini
I switched all the/Game/
for<path-to-carla-repo>/Unreal/CarlaUE4/Content/Carla/
, except for the materials at the top which are inContent/Static
rather thanContent/Carla/Static
- In
Saved/Cooked/LinuxNoEditor/CarlaUE4/Metadata/CookedIniVersion.txt
I swapped again the/Game
- Same thing in The
Content/Carla/Config
folder where I swapped/Game
inTown06_Opt.package.json
,Default.package.json
,Town10HD_Opt.package.json
,Town7_Opt.package.json
- In the editor, I replaced the assets in
Content/Carla/Static/TrafficLight/StreetLights_01/TrafficLightStructure.uasset
,Content/Carla/Static/TrafficLight/StreetLights_)1/TrafficLightPieceStructure.uasset
andContent/Carla/Blueprints/TrafficLight/ST_TrafficLightHead.uasset
by the proper assets (the references got removed) - Finally, I kept having
Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/Carla/Static/TrafficLight/Streetlights_01/BP_TrafficLightNew.BP_TrafficLightNew_C:UserConstructionScript.CallFunc_Array_Get_Item_1'. Unknown structure.
which I solved by creating another Heads2 array of ST_TrafficLightStructure and replacing the first one which I then deleted. This was to force UE to update the reference to the asset and that resolved the issue.
Doing all this removed all the not found/ reference errors. Now I can't seem to be able to spot any remaining error but it still fails. Here are the Log.txt in case it helps.
If you feel the remaining issue is unrelated to @PriestOfAdanos 's original issue, I'm happy to open a new issue.
Thanks for the help, Niels
EDIT: Display: Max memory allowance for cook 16384mb min free memory 0mb
It seems I am out of memory. So @PriestOfAdanos if you have more memory than I do, the above might well solve your issue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@PriestOfAdanos Hi, were you able to export your vehicle in to docker? If yes, can you explain how you achieved that?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.