0
\$\begingroup\$

I am trying to figure out a problem related to CableComponents.

As part of my learning and problem identification I'm trying to place some UE_LOGs/Debug Messages within Pawn.cpp and CableComponent.cpp

These changes are not reflected when the c++ code is compiled within unreal. which is consistent with Unreal only building project code.

So My question is, how can I make these changes to the source code and have them be used?

Alternatively, is there a better way to do what I'm trying to do?

The reason i'm trying to do this

  • I'm trying to figure out how often the dynamic data of UCableComponent is recalculated compared to the rendering update of APawn.
\$\endgroup\$
  • \$\begingroup\$ Can you give us more details about the specific problem you're trying to troubleshoot? We might be able to suggest approaches you can take that don't involve editing this file to insert log messages. \$\endgroup\$ – DMGregory Sep 11 at 10:54
  • \$\begingroup\$ Edited to include intended usage \$\endgroup\$ – Natalo77 Sep 11 at 13:07
0
\$\begingroup\$

If you make changes to the code of the Unreal Engine you have to recompile the Unreal Engine. See the documentation to find out how to do this.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.