Help with Packaging error - ' interface custom scaling rule not found'

Hey!

So hopefully someone here can help me out. The latest build of my game comes up with this error: “'Project Settings - Interface Custom Scaling Rule " could not be found”. If I go to map check, this list will continue to build up with this error for what seems like forever (see attached image). It got to over 5000 before I closed it. The game still works when I play in editor, or when I launch it from in the editor, but when I package I get a ‘package failed’. I have packaged this game before with no errors, previously that was on version 4.8 of unreal. I am currently using 4.10, and now it will no longer package, and I can’t for the life of me figure out the problem. I have also attached the output log for the packaging. The output logs this generated are huge however, the largest being 184MB. It tends to keep displaying the “Project Settings - Interface Custom Scaling Rule " could not be found” error until it just gives up and fails. I have no idea if this is to do with the packaging failure, or something else, but either way Its not working.[link text][1]

Any help would be greatly appreciated!

Thanks!

DannyB0b,

Could you please tell me what exactly you’ve changed or added in from 4.8 to 4.10? Also, I noticed that within your logs, there are a lot of other errors besides the interface custom scaling. I would suggest locating the files that the Editor can’t find and resolving those issues.

For example:
Can’t find file ‘/Game/Triassic_World_Assets/UI/new_Pangea/Pangea_SPEC’

Have you been able to replicate this same issue within a new project on either 4.8 or 4.10?

  • [DPI Scaling][1]
  • [Scale UI for Different Devices][2]
  • [UMG UI Designer][3]

DPI Scaling in Unreal Engine | Unreal Engine 5.1 Documentation
[2]: Scaling UI for Different Devices in Unreal Engine | Unreal Engine 5.1 Documentation
[3]: UMG UI Designer for Unreal Engine | Unreal Engine 5.1 Documentation

I had this same error and figured it out. Seeing there are no actual answers posted here I will post my solution.

The problem was I specified “Custom” as the DPI Scale Rule, but I didn’t specify a Custom Scaling Rule Class. To fix the error I changed DPI Scale Rule to one of the prepackaged rules that UE4 ships with (obviously other than Custom).

Go to Edit > Project Settings > Engine - Interface

If you need/want to specify a Custom DPI Scaling Rule then you need to make your own DPI Rules Class and specify that in the Custom DPI Scaling Rule Class drop down.

Thank you for providing your answer for everyone.