Gameplay Abilities Error after updating to 5.5

Updated my Project from 5.4 to 5.5 after which everything seemed to work. Editor opened up and I could create new files and look at most asset files. However when I tried to load up most Levels or open up any blueprints I would get the following error.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

UnrealEditor_GameplayAbilities
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject

After some extensive Debugging I have seemed to have found the cause of the issue.

Incase anyone is having reading address violation issues when they update. Here is how I went about figuring this out.
Steps to Debug:

Create Test Copy to Update to 5.5!

  1. Noticed how files having nothing to do with Gameplay Abilities were causing a crash.
  2. Using my 5.4 version of the project along with the Reference Viewer
  3. Deleted any Blueprint Macro Libraries I had(Deleted out of Editor since trying to delete them in editor will crash it) that were connected to the crashing BPs
  4. After this BPs unrelated to Gameplay Abilities started working.
  5. Picked my base character class and started deleting and removing refs it had until I could open it on 5.5.
  6. If the class didn’t work even after deleted all classes it referenced then that was the class with the issue.
  7. Continued this process until I ended up with a projectile class that referenced the problematic class.
  8. Once the problematic class was deleted, restored all classes from Recycle Bin to verify everything works as usual now.
  9. In your 5.4 version of the project fix files that will be corrupted by update again.

Error:
The Issue was a GameplayEffect class which used Calculation Modifiers to update the Damage attribute to either Add or Multiply damage based on Attributes I was using to Calculate Damage Multipliers. These Attribute Based modifiers did not have the Attribute Based Magnitude → Backing Attribute → Attribute to Capture Set.

This is set to None in my 5.4 Project which works without issues. But when I upgrade the project to 5.5 it seems to Corrupt the file. Causing the editor to crash when either the file is attempted to be opened or another file that references the corrupted file(anywhere in its reference tree).

Since this class was a base damage calculation class it was being used or referenced all over the project. Leading to what seemed to be an issue with the GameplayAbility system.

So if you are having a similar issue after updating to 5.5 and you are using gameplay abilities. Double check you GE and make sure all Execution calculations have the data required or delete any that don’t have their data completely set.

1 Like