Tip for those who sometimes got stuck

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:

5 Likes

Nice spot, thanks a lot for this :slight_smile:

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:

well found

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

Thanks!

Privacy & Terms