Announcement

Collapse
No announcement yet.

Plugin development and hot reload not working

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

    Plugin development and hot reload not working

    Ok, so this is somewhat annoyingly painful: I'm developing a plugin with Blueprint functionality. The hot reload simply does not seem to work with plugins, when I add a new UFUNCTION to my UBlueprintFunctionLibrary it does not appear in the Blueprint editor after hot reload. As this is my first ever plugin it took me hours to figure out what I was doing wrong (that is, nothing!) - you have to restart the editor in order to see any plugin changes. This is a really painful workflow, restarting the editor to test changes, I really hope this gets fixed.
    // Jusasi
    SQLite3 Plugin for UE4 - Forum thread - Github link

    #2
    Hot reload does not work with plugins, this is true. However, you can recompile plugins in-editor. Go to Window->Developer tools->Modules and find your module. Click Recompile and it should hot reload your plugin.

    You may not have this window in a content-only project. Some things can not be hot-recompiled, such as some Slate functionality.
    Procedural, modular, on-the-fly animation - iTween For UE4
    - Actors - Components - UMG - Ease In - Ease Out - Path-constrained Animation - $0

    Runtime Datatable
    -All the fun of DataTables dynamically loaded from text or Google Sheets while your game is running!

    Comment


      #3
      Hi Jusasi,

      Thank you for your report, I have entered a feature request for Hot Reload to be usable with plugins.
      Adam Davis | Marketplace Support | Epic Games
      How to report a bug? | Installation & Setup issues? | Answerhub Bug Reports | Twitter

      Comment


        #4
        Originally posted by Adam Davis View Post
        Hi Jusasi,

        Thank you for your report, I have entered a feature request for Hot Reload to be usable with plugins.
        Thank you, much appreciated!
        // Jusasi
        SQLite3 Plugin for UE4 - Forum thread - Github link

        Comment


          #5
          Are there any news on implementing hot reload for plugins? I heard in the latest stream, that there will be some updates for the plugins system in 4.8. Could it be, that hot reaload will be out with it?

          Comment


            #6
            It would be very appriciate to have possibility for hot reloading plugins just from VS. I do test on Actor in UE 4.10.1 and it seems that it is not working.

            Usually Recompile in Modules development window should hot reload plugin.
            Last edited by R&D Lab; 12-23-2015, 06:48 AM.

            Comment


              #7
              It seems I cannot find this "Modules development window" under Window -> Developer Tools. Is there a reason why?

              Comment


                #8
                Even cold reload doesn't always work. Sometimes if you add or remove parameters to a blueprint function defined in a plugin, the node in a blueprint will not update. :P
                Then you have to delete Saved and Intermediate folders and do a full rebuild.

                Check out my discord -> https://discord.gg/kQdVwJ3

                Follow us on twitter to get updates on new products and special offers -> https://twitter.com/BlackFangTech

                Black Fang Technologies' products -> https://www.unrealengine.com/marketp...20Technologies

                Comment


                  #9
                  Hello guys, maybe it's late, but i made a tutorial for developing plugins using the hot reload feature. I'm using a workaround for that (creating game modules first and converting them to a plugin later).

                  https://www.youtube.com/watch?v=jvkF...7bMqMF&index=1

                  Comment

                  Working...
                  X