The game becomes highly sluggish after the Unity engine update

  1. The game experiences significant lag when pressing the TAB key to toggle the map.

  2. Critical frame drops occur during the boss’s spellcasting animations.

It’s not just me—many friends have also encountered this issue.

After consulting a programming-savvy friend, we identified the issue as being caused by null reference exceptions.

The error message is as follows:
[Error : Unity] 2025-03-23T11:10:24.3954993+00:00 Exception System.NullReferenceException: Object reference not set to an instance of an object.
at UISubScaler.UpdateTextScale (System.Single scale) [0x00000] in <00000000000000000000000000000000>:0
at UISubScaler.UpdateScale () [0x00000] in <00000000000000000000000000000000>:0
at UISubScaler.OnEnable () [0x00000] in <00000000000000000000000000000000>:0
at UIPanel.Open (System.Boolean useCanvas) [0x00000] in <00000000000000000000000000000000>:0
at UIBase.OverlayMapKeyDown () [0x00000] in <00000000000000000000000000000000>:0
at EpochInputManager.HandleButtonPress (UnityEngine.Vector3 hitVector) [0x00000] in <00000000000000000000000000000000>:0
at EpochInputManager.Update () [0x00000] in <00000000000000000000000000000000>:0