Custom Depth Sort Packaging

Any Solution? i know the “solution” but i dont know where is the problem xD this “function” does not exist in my project, but i dont create this function

Error: DoesPackageExist: DoesPackageExist FAILED: ‘/FortWater/Materials/Functions/CustomDepthSort’ is not a standard unreal filename or a long path name. Reason: La ruta no comienza con una raíz válida. La ruta debe comenzar por: ‘/Engine/’, ‘/Game/’, ‘/MegascansPlugin/’, ‘/Paper2D/’, ‘/GeometryMode/’, ‘/SpeedTreeImporter/’, ‘/DatasmithContent/’, ‘/ChaosClothEditor/’, ‘/ChaosNiagara/’, ‘/ChaosSolverPlugin/’, ‘/ControlRig/’, ‘/GeometryCollectionPlugin/’, ‘/GeometryProcessing/’, ‘/Landmass/’, ‘/MotoSynth/’, ‘/PythonScriptPlugin/’, ‘/ShallowWater/’, ‘/Water/’, ‘/Niagara/’, ‘/AnimationSharing/’, ‘/MagicLeap/’, ‘/SmoothSyncPlugin/’, ‘/UIWS/’, ‘/VehicleSystemPlugin/’, ‘/MediaCompositing/’, ‘/MagicLeapPassableWorld/’, ‘/SequencerScripting/’, ‘/AudioSynesthesia/’, ‘/HairStrands/’, ‘/PostSplashScreen/’, ‘/Synthesis/’, ‘/Takes/’, ‘/OculusVR/’, ‘/SteamVR/’, ‘/Config/’, ‘/Script/’, ‘/Extra/’, ‘/Memory/’, or ‘/Temp/’

1 Like

I’m also encountering the same problem when trying to package my project using the Water plugin. It seems the debug material is missing a material function called “CustomDepthSort”… I guess they forgot to add it to the files?

1 Like

I know this is a bit late but… maybe it will help others who come here looking for the answer. This material function is missing in the UE5 EA version but you can find it in the new UE5 preview. I had some trouble migrating it for some reason but was able to replicate it by copy pasting the nodes into a new material function. Hope it helps!