I tried to package my project but it failed. The Output Log says “UATHelper: Packaging (Windows): ERROR: Cook failed.” and “PackagingResults: Error: Unknown Cook Failure”
I found out that it depends on the Water Plugin in UE5. When I deactivate it then the packaging works. As soon I activate it again the packaging failes.
I found out what the problem was, visual studio was not installed correctly. I reinstalled it and now it works.
I followed this tutorial: www.youtube.com/watch?v=8xJRr6Yr
My blueprint project is packaging fine with the water plugin but the water mesh shows up literally broken. As in, it’s fractured in place along the shoreline and some smaller fragments are scattered and embedded in other parts of the landscape. Very odd. I realize that the water plugin is still experimental in UE5.3 but it would be nice to find a workaround to get everything rendering nice. Would really like to have decent looking water in my game.
I’m seeing the exact same issue while using 5.3 water plugin in a packaged game. The transitions between lake to river and river to ocean are physically broken. No water is rendered for the transitions, and water direction / speed are acting odd. Any ideas how to fix this?
Same issue in UE 5.5 (and 5.4) too. I don’t even need to add anything to the project, just enabling the Water plugins breaks the packaging. There are 6 similar error messages:
UATHelper: Packaging (Windows): LogInit: Display: LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the target package was marked NeverCook or is not cookable for the target platform.
UATHelper: Packaging (Windows): Source package: /Landmass/Landscape/BlueprintBrushes/Materials/Sprite/M_BrushSprite_01
UATHelper: Packaging (Windows): Target package: /Engine/EditorResources/S_Terrain
UATHelper: Packaging (Windows): Referenced object: /Engine/EditorResources/S_Terrain.S_Terrain
Project Settings → Packaging → Advanced → Uncheck “Exclude editor content when cooking”
Not sure yet of the consequences but at least packaging works and my build plays as expected.
But I am really not sure about using the Water plugin in a release now.