Announcement

Collapse
No announcement yet.

Problem: The engine compiles every time we do changes to our project

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

    Problem: The engine compiles every time we do changes to our project

    Hello everyone. We are a bunch of hobbyists having trouble building our project with c++ . Every time we do simple changes to our project's source code and press the build button, the engine is recompiled. This issue is too time consuming.

    Here is our setup:

    -UE4 is compiled on an external hard drive.

    -We are using visual studio 2013 express.

    -Our system meets required specs.

    - We already read about UnrealVS but it doesn't work on VS express.
    Thanks for reading.
    Last edited by hadidx; 03-24-2014, 10:44 AM.

    #2
    Have you tried just right-clicking on your project and selecting "Build"? That's what I do and it works fine.

    Comment


      #3
      We tried this ; however, VS starts building unreal header tool and continues to build the engine. For some reason VS is not even checking if the files are up to date. Any suggestions?

      Comment


        #4
        I had the same problem ,now when i create a new project it takes 30min first comple ,then after 30sec to 2min in function of changes made , right click -build only - project , after for small changes i use editor to compile 1 min max in my case
        Website [ LINK ]
        Twitter [ LINK ]
        Support ! [ LINK ]

        Comment


          #5
          Thank you for your replies. For any body facing this problem, right click your project and rescan . For some reason the projects are not being scanned automatically.

          Comment


            #6
            Originally posted by hadidx View Post
            Thank you for your replies. For any body facing this problem, right click your project and rescan . For some reason the projects are not being scanned automatically.
            Might that have something to do with the external drive?

            Comment


              #7
              Originally posted by requisite0 View Post
              Might that have something to do with the external drive?
              Maybe, at least we know that we have to rescan the project on start up if it doesn't do so on its own. thanks for the suggestion I'll try it later if I happen to find 12GB of space on the internal drive.

              Comment


                #8
                Originally posted by hadidx View Post
                Maybe, at least we know that we have to rescan the project on start up if it doesn't do so on its own. thanks for the suggestion I'll try it later if I happen to find 12GB of space on the internal drive.
                I've got a 256GB Samsung 840 Pro devoted to UE4. Gotta love the build times.

                Comment


                  #9
                  Originally posted by requisite0 View Post
                  I've got a 256GB Samsung 840 Pro devoted to UE4. Gotta love the build times.
                  Totally.

                  Comment


                    #10
                    Originally posted by requisite0 View Post
                    I've got a 256GB Samsung 840 Pro devoted to UE4. Gotta love the build times.
                    Don't put your game project into the UE4 solution. Open up the editor and create a new project then work in that minor project. You have access to the same tools, and unless you are actively modifying the engine its not necessary to work that way.
                    About Me | JavaScript and UE4 | Exodus | Code Notes

                    Comment


                      #11
                      I'm having the same problem. Just to make sure do I just need to rescan my project folder only? (i.e I don't need to rescan or "rebuild" the Engine everytime I've changed code to my game project?)

                      Comment


                        #12
                        Yes rescan the project. If that doesn't work rescan the UE4 project too. You have to do this every time you open the solution. You don't need to rebuild the engine.
                        Good Luck!!

                        Comment


                          #13
                          I have same bug, and i it started since yesterday.
                          So i have started other thread, but after that found that one
                          https://forums.unrealengine.com/show...kes-me-crazy-(

                          Originally posted by hadidx View Post
                          You have to do this every time you open the solution.
                          so, it is more VS issue that UE?

                          Comment


                            #14
                            One of the options you can pass to GenerateProjectFiles.bat is -engine (which the description says includes the engine files with the project files). You might want to try dropping that command.

                            edit: oops, I meant to reply to _h2o_'s topic.
                            Last edited by hd_; 04-03-2014, 08:42 AM.

                            Comment


                              #15
                              This trick (https://answers.unrealengine.com/que...c-project.html) works for me. I simply followed the 'intro to programming' video. This placed my project within my full source project. Afterwards, I found that thread and updated my build.cs file. By default, your project is configured for a huge C++ project so it can combine all the C++ files. For early stages of the project you want to make this change

                              My compile times is probably around 30 secs or so after Windows caches everything. Editor-Development-64bit starts up less than a minute. And this is without an SSD drive.

                              [edit] Actually the issue reported by the OP is different. Sorry yo
                              Last edited by sandboxgod; 04-03-2014, 11:04 AM.
                              Godz for UT '99 / UT 2003

                              Comment

                              Working...
                              X