Hi, I had an issue of packaging on Windows after upgrading from UE 5.0.3 to UE 5.1.0. When I open the .exe it says “CDO Constructor(GLTFMaterialExporter): Failed to find /Engine/EditorMeshes/EditorSphere.EditorSphere”, but after that the game runs normally. I tried an empty project and it still had the same issue.
It is very easy to reproduce:
Create an empty project
Create a new basic level
Set the current map as the default map
Select “Exclude editor content when cooking” in Project Settings
The error should come from “+PackagesToBeFullyLoadedAtStartup=/Engine/EditorMeshes/EditorSphere” in BaseEngine.ini file. Unticking “Exclude editor content when cooking” can solve the problem, but it will add extra 300MB to the game size, so just a temporary solution. UE 5.0.3 doesn’t have this issue.
I would be glad if anyone can provide some solution.
Simply deleting the EditorSphere in BaseEngine.ini won’t be the final solution, there should be some internal problem. Using UE 5.1.0 to package on Windows increases almost 300MB compared to UE 5.0.3. Bug report should be sent to Epic.
I’m using version 5.3 and I enabled “Exclude editor content when cooking” but the editor references are still packed into chunk0 (my project packaging has multiple pak files)
Some resources in the project belong to “EditorOnly References”. These resources have no effect after being packaged. They are only used in the editor to help development, but they are still forcibly packaged into chunk0, resulting in an increase in the size of the pak file.