Hello,
I came accross some bugs while developing my first game using UE4 (a puzzle game), I’ll try to list all of them, however, the purpose of this is to know if they are known bugs or not since UE4 is meant to be used by early adopters.
1) Cross reference GameState and PlayerController in their EventBeginPlay (using respectively GetPlayerController and GetState), the app crashed if I try to launch it on Windows. => Temporary fixed it by not referencing PlayerController in the GameState ( cross ref are not good, I know )
2) A tricky one, but was able to find it by debugging the editor using the GitHub code :
Declared an event (OnDifficultySelected) on the custom Hud, with an Input of type Enum.
Bound that event on the PlayerController.
Called that event on the Hud without passing any input.
When I launched the game (Mobile Preview and Standalone window), it crashed and the log didn’t show something useful.
=> Temporary fixed it by removing that input as I didn’t need it anymore, and cross ref is bad!!
3) Foreach on a custom Enum doesn’t always work => it goes to “Completed” directly instead of going to “LoopBody”.
4) On Mobiles, HitBox doesn’t work “automatically” with Touch events, make the Canvas useless to interact with users.
5) On Mobiles, the enum values doesn’t appear correctly, the enum to string shows NewEnumerator0, NewEnumerator1 and so on, instead of the correct string values.
That’s it for now
- The good point is that I was able to do all the algorithm part using BPs only (it’s funny tough I’m a programmer), the graphical part (not completed the Hud for mobiles).
- The bad point is that my game is almost over, but I’m and will be unable to deploy it to mobiles … for now
I’ll be waiting for your feedbacks
Thank you