I’m suddenly getting a cook error today that prevents me from launching an edit session (if it does manage to “launch” the session, it’s in a completely empty level).
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Project Size
Steps to Reproduce
Cook Project Size or Launch Session
Expected Result
Project size cooks successfully and launches edit session
Observed Result
Edit session fails to connect / errors out or connects to empty level. UEFN provides platform cook errors.
Platform(s)
PC
Upload an image
Additional Notes
This is displayed in output log when trying to refresh project size:
LogValkyrie: Display: ProjectSizeRequest::CancelFlow for b32b68b3-4a65-2fc6-af4e-c79a3c5ae1bf - Content (re)cook error errors.com.epicgames.cookplugin.materialerror.
JOB_ID=041990ac-c833-478e-83c7-49dc770c8c4d
I also have Play In Editor errors that are all essentially the same. I’m unsure if they’re relevant but I’ll include them for context:
AttachTo: ‘/ProjectSky/ProjectSky.ProjectSky:PersistentLevel.BP_Asteria_Oak_Tree_Medium_C_UAID_107C611FCA929D4002_1585275777.StaticMeshComponent0’ is not static , cannot attach ‘/ProjectSky/ProjectSky.ProjectSky:PersistentLevel.BP_Asteria_Oak_Tree_Medium_C_UAID_107C611FCA929D4002_1585275777.ShadowProxyMeshComponent’ which is static to it. Aborting.
I can provide any additional information needed on short notice.
I realize the image uploaded is likely impossible to read. I’ve copied what it says directly from the output log:
PlatformCook: Error: We hit an error while cooking this content
PlatformCook: Error: errors.com.epicgames.content-service.cook_failure
PlatformCook: Error: CookJobId:435e8655-e262-4b5d-a9c2-e3a7e187d3f2
PlatformCook: Error: An error occurred while communicating with the game servers (failed to cook module b32b68b3-4a65-2fc6-af4e-c79a3c5ae1bf (artifact 008a910a-dbff-4b22-8dfa-4113e28c0ed0:pc) (cookJobId 435e8655-e262-4b5d-a9c2-e3a7e187d3f2) with error code errors.com.epicgames.cookplugin.materialerror).
Hi @notcreatorguy - are you getting this error message in the editor?
LogMaterial: Error: [AssetLog] ..\..\Plugins\GameFeatures\b32b68b3-4a65-2fc6-af4e-c79a3c5ae1bf\Content\Sky_Dungeon\materials\building_materials\M_building_metal.uasset: Failed to compile Material for platform PCD3D_ES31, Default Material will be used in game. (Node PrecomputedAOMask) Node not supported in feature level ES3_1. SM5 required.
I did not see that in the output log, however going into the material and checking platform stats did reveal that error. I’ve adjusted the material to not use the disallowed node and can now load into an edit session and perform a platform cook. Thank you!