In my vehicle pawn file in tick i have this line of code
float fScore = GetPlayerState()->GetScore();
this line causes a crash if it is in tick why? I have this line in few other areas and it works fine, why in tick is it causing a crash.
@ Epic, why is score a float? and not an int32? i have never heard of 1.5 kills or 1.5 laps. Just curious why it is a float?
If you want to experience this crash. Add the above line into the CurrentVehiclePawn::UpdateHUDStrings() function, which is called by tick. Start the editor then hit play.