Tip for those who sometimes got stuck

33_bt_urc
battle-tank

#1

If something is wrong with your code/crash even you already follow every steps.

this is for those having trouble
reminder: go Resources->LectureCodeChanges

In my case I always crash UnrealEditor on Play

myCode : UE_LOG(LogTemp, Warning, TEXT(“Firing at %s”), LaunchSpeed);
Ben’sCode : UE_LOG(LogTemp, Warning, TEXT(“Firing at %f”), LaunchSpeed);

After % I put S(string) not F(float) it still compiles and no error, but on Play it crashes.

that makes sense I’m logging a float…silly me.:grin:


#2

Nice spot, thanks a lot for this :slight_smile:


#3

Silly you? No, no, silly me! Thanks so much for this catch. I even took note of the ‘f’ but didn’t realize I was putting an ‘s’. :grin:


#4

well found


#5

Thanks you are a life saver, been looking for an hour for that fix.