Announcement

Collapse
No announcement yet.

Need to close/open unreal engine every build

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need to close/open unreal engine every build

    Hi

    Since the last update of Unreal Engine (4.20) I have to close/open unreal engine every time I build the C++ code ..

    If I made an error build Unreal Engine detects this issue but when I fix it, the game start on the previous state, it's didnt take the change I made . I have to close and reopen the game engine for my C++ code takes effect

    Anyone have this issue ? What can I do

    Thanks

    #2
    In ideal situation a hot reload happens , this means the binary is reloaded with the editor window open. If that's not happening you should look at the logs after the build, maybe it will tell you. Another troubleshooting trick is to make a blank project, see if it compiles with defaults and hot reloads.

    Comment


      #3
      Indeed BCETracks

      I will create one of the made project of Unreal Engine and see if this issue is here.

      Thanks

      Comment


        #4
        Hi again

        Even with the 3rd person sample this problem is here, any idea why I have to close and open unreal engine to change in C++ take effects ?

        Before the update of Unreal Engine 2.0 this issue didn't exsit

        Thanks

        Comment


          #5
          Here is the log when the build succeeds



          Launching UnrealBuildTool... [D:/UE_4.20/Engine/Binaries/DotNET/UnrealBuildTool.exe -ModuleWithSuffix=MyProject,7604 Win64 Development -TargetType=Editor -Project="../../../../UnrealProject/MyProject/MyProject.uproject" -canskiplink "D:/UnrealProject/MyProject/MyProject.uproject" ]
          Warning: Starting HotReload took 0.0s.
          CompilerResultsLog: New page: Compilation - 29 sept. 2018 16:34:04
          CompilerResultsLog: Compiling game modules for hot reload
          CompilerResultsLog: Building 3 actions with 8 processes...
          CompilerResultsLog: [1/3] MyProjectCharacter.cpp
          CompilerResultsLog: [2/3] UE4Editor-MyProject-7604.lib
          CompilerResultsLog: Cr?ation de la biblioth?que D:\UnrealProject\MyProject\Intermediate\Build\Win64\UE4Editor\Development\MyProject\UE4Editor-MyProject-7604.lib et de l'objet D:\UnrealProject\MyProject\Intermediate\Build\Win64\UE4Editor\Development\MyProject\UE4Editor-MyProject-7604.exp
          CompilerResultsLog: [3/3] UE4Editor-MyProject-7604.dll
          CompilerResultsLog: Cr?ation de la biblioth?que D:\UnrealProject\MyProject\Intermediate\Build\Win64\UE4Editor\Development\MyProject\UE4Editor-MyProject-7604.suppressed.lib et de l'objet D:\UnrealProject\MyProject\Intermediate\Build\Win64\UE4Editor\Development\MyProject\UE4Editor-MyProject-7604.suppressed.exp
          CompilerResultsLog: Total build time: 50,67 seconds (Parallel executor: 48,27 seconds)
          LogMainFrame: MainFrame: Module compiling took 51.519 seconds
          LogHotReload: Re-instancing MyProjectCharacter after hot-reload.
          LogContentBrowser: Native class hierarchy updated for 'MyProject' in 0.0004 seconds. Added 2 classes and 2 folders.
          Display: HotReload successful (0 functions remapped 0 scriptstructs remapped)
          LogContentBrowser: Native class hierarchy populated in 0.0130 seconds. Added 2575 classes and 607 folders.
          Display: HotReload took 52.4s.

          Comment


            #6
            I'd like to help but I'm not sure since it seems to hot reload.

            Comment

            Working...
            X