tranek / GASDocumentation

My understanding of Unreal Engine 5's GameplayAbilitySystem plugin with a simple multiplayer sample project.
MIT License
4.26k stars 789 forks source link

StaticLoadClass DamageNumberClass doesn't work when packaged #110

Closed tommygod3 closed 1 year ago

tommygod3 commented 1 year ago

This runs fine in PIE but when I package the project and run I get a null pointer error (and obviously the error log) because this StaticLoadClass doesn't seem to work once the game is packaged: https://github.com/tranek/GASDocumentation/blob/f986a00d224ebfb79472fa6ba37738d0bf926347/Source/GASDocumentation/Private/Player/GDPlayerController.cpp#L58 Does there need to be a project setting to include this in the build? Other usages seem to work okay

tranek commented 1 year ago

Fixed with https://github.com/tranek/GASDocumentation/commit/80a616a9ef052cfc8293608b2b5e148fdf32e239