Writing To The Output Log

UE_LOG(LogTemp, Display, TEXT(“Configured Moved Distance: %f”), MoveDistance); doesn’t work for me. I’m using VS 2022 & Live Coding in UE 5.2.1 returns “LogLiveCoding: Display: Live coding succeeded” message. There was no text transferred from VS to UE. Also I’ve searched multiple tiimes and can’t find the “Unreal Engine 4 Snippets” extension to install.

Do you have a moving platform in your level and did you press play?

Are you using VS Code or VS? They are different products and there isn’t one for the latter.

I did press play after a few attempts and got it to work. I’m using VS 2022, not VS Code. Are there any extensions that function similar to the snippets one?

Not that I know of but you can create your own

@GrampaOglethorpe I just saw that support for this has been added to the latest Preview build of VS.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms