cooking error

Summary

I’m getting this cooking error during launching an edit session. PC restarted, files for both UEFN and Fortnite verified. No antivirus or win defender enabled during installation and launch.

“PlatformCook: Error: We hit an error while cooking this content
PlatformCook: Error: errors.com.epicgames.content-service.cook_failure
PlatformCook: Error: CookJobId:ea86850a-222c-4e7e-b72d-f0e60844a0d4
PlatformCook: Error: An error occurred while communicating with the game servers (failed to cook module 3820e36a-4b40-38fd-a3b5-9a9816ac12bd (artifact 4e26c08a-0b65-442c-aee9-426d8bc07fcd:linux-server) (cookJobId ea86850a-222c-4e7e-b72d-f0e60844a0d4) with error code errors.com.epicgames.cookplugin.cookfailure).
LogValkyrieEditorAnalytics: Displaying Stats for Flow
LogValkyrieEditorAnalytics: =========================
LogValkyrieEditorAnalytics: Flow=Play
LogValkyrieEditorAnalytics: PlayFlow=80.066
LogValkyrieEditorAnalytics: ↳ PrepareProjectSourceData=4.219
LogValkyrieEditorAnalytics: ↳ ProjectUpload=3.574
LogValkyrieEditorAnalytics: ↳ SyncWithContentService=0.816
LogValkyrieEditorAnalytics: ↳ UpdateProjectMetadata=0.235
LogValkyrieEditorAnalytics: ↳ StageProjectModules=0.530
LogValkyrieEditorAnalytics: ↳ GatherFilesForValidation=0.000
LogValkyrieEditorAnalytics: ↳ DownloadPublishedVerseFiles=0.180
LogValkyrieEditorAnalytics: ↳ ValidateProject=0.907
LogValkyrieEditorAnalytics: ↳ FindServer=8.541
LogValkyrieEditorAnalytics: ↳ MatchmakingToServer=5.798
LogValkyrieEditorAnalytics: ↳ UploadCookDownload=67.306
LogValkyrieEditorAnalytics: ↳ ProjectUpload=4.739
LogValkyrieEditorAnalytics: ↳ SyncWithContentService=0.885
LogValkyrieEditorAnalytics: ↳ UpdateProjectMetadata=0.200
LogValkyrieEditorAnalytics: ↳ StageProjectModules=0.306
LogValkyrieEditorAnalytics: ↳ PruneScratchSpaceFiles=2.052
LogValkyrieEditorAnalytics: ↳ CreateModuleVersions=0.253
LogValkyrieEditorAnalytics: ↳ StoreSnapshot=0.253
LogValkyrieEditorAnalytics: ↳ ServerClientCookUnloadLoad=62.568
LogValkyrieEditorAnalytics: =================================
LogValkyrieActivityTracker: Warning: Session → Fail Activity: LoadingNewContent - Error updating content
LogValkyrieSummary: Failed to update content due to error.
PlatformCook: Error: LogWindows: Error: appError called: Assertion failed: HasAllFlags(RF_ClassDefaultObject) [File:Z:\UEVFS\Root\Engine\Source\Runtime\Engine\Private\Materials\MaterialInstance.cpp] [Line: 3098]
Trying to save cooked material instance MID0, missing CachedExpressionData
PlatformCook: Error: LogWindows: Error: appError called: Assertion failed: HasAllFlags(RF_ClassDefaultObject) [File:Z:\UEVFS\Root\Engine\Source\Runtime\Engine\Private\Materials\MaterialInstance.cpp] [Line: 3098]
Trying to save cooked material instance MID0, missing CachedExpressionData
LogEOSSDK: LogEOS: Updating Product SDK Config, Time: 337.226044
LogEOSSDK: LogEOS: SDK Config Product Update Request Completed - No Change”

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

just launching the session in my case

Expected Result

no error

Observed Result

cooking error

Platform(s)

UEFN

Upload an image

For those who will stumble on a similar issue: cooker has problems with “Static Switch Parameter” node if you use materials in Verse. Removing this node from the material allowed me to instantiate it safely. Problem solved.