Draw Debug Line in Packaged Game

Does Draw Debug Line function only work when the game play in Editor?
I make a project, and everything goes fine when played in Editor. But not in packaged one

I think so. I don’t see any specifics in the docs. If you want a laser you can use either a spline mesh or a beam particle.

Thanks for the response.
Its weird. The function work in my friend’s machine, but it doesnt work in mine. Although, the project is the same…
May be particle or cable actor are good for replacing the line if I get the same problem later