when ever attack the player another player in ether listing server of client it crashes and gives me this error
infinite loop detected. Blueprint: BP_firstPersonControlor Function: Inputs Call Stack: Show
When i clicked on it it brought me to a place called slandered macros which is in engine and i do not believe i have ever messed with it. the error is gone when i set the is dead to true in FApplyDamgae to Player function in bp_FirstPersonCharchter
Server logged in
Play in editor total start time 1.344 seconds.
Client logged in
Play in editor total start time 1.427 seconds.
Infinite loop detected. Blueprint: BP_firstPersonControlor Function: Inputs Call Stack: Show
the error isnt in the IsValid check so we’d need to see more code, but since its an infinite loop error its likely something is calling the FApplyDamgae function recursively.
ie with what you’ve said if you have
ApplyDamage()->CheckDead()->ApplyDamage()
this will result in an infinite loop if the IsDead is not set.
thank you for the help i accidently put the wrong update stat bar i needed to put update stat bar on client so that works and that the first propbolm solved
1 Like