Announcement

Collapse
No announcement yet.

How to enable Chaos in 4.23

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by iBrews View Post

    That threw me off for a minute too-- VictorLerp
    That threw me off for two weeks! lol

    Comment


      Originally posted by iBrews View Post
      Hm, the opening map works fine for me, but the Geometry Collections one freezes at 30% every time.
      Just takes a long time. You can see what it is doing in the output of VS.

      It does finish eventually
      https://www.casualdistractiongames.com

      Comment


        Originally posted by OptimisticMonkey View Post

        Just takes a long time. You can see what it is doing in the output of VS.

        It does finish eventually
        Wow you were right. That map took 26 minutes to load, but load it did~ !
        Alex Coulombe
        Creative Director
        Agile Lens: Immersive Design
        New York City
        www.agilelens.com

        Comment


          Hey guys, when I started building the solution it started generating files, i had 70gb free at the time and it still needed more space, anyone can specify what is the max free space requirement to build it?

          Comment


            Originally posted by pingms View Post
            Hey guys, when I started building the solution it started generating files, i had 70gb free at the time and it still needed more space, anyone can specify what is the max free space requirement to build it?
            Checked my folders:

            Engine source built completed: 111 GB
            Chaos Demo build completed: 32 GB

            So, at least 143 GB free + some more spare for temporary files I guess
            Nilson Lima
            Technical Director @ Rigel Studios Ltda - twitter: @RigelStudios
            Join us at Discord: https://discord.gg/uFFSEXY

            UE4 Marketplace: Cloudscape Seasons
            supporting: Community FREE Ocean plugin

            Comment


              Originally posted by VictorLerp View Post
              Follow these steps to enable Chaos in 4.23 (new documentation)

              NOTE: This will enable Chaos for all of your Blueprint and C++ projects. If you'd like to enable Chaos per project, you will have to add the new target lines to your project's Target.cs file and create a C++ project (it won't work with a Blueprint project).

              Follow these steps to open the Chaos Destruction Demo:

              1. Download the Chaos Destruction Demo from the Learn tab on the Epic Games Launcher.

              2. Download 4.23 from Github (source build is required until Chaos is out of Beta).

              3. After you setup your GitHub build (you don't need to compile it), move the ChaosDestructionDemo folder into the same folder that you unzipped the GitHub build to.

              4. Run GenerateProjectFiles.bat.

              5. Open the created UE4.sln.

              6. Build the ChaosDestructionDemo for Development Editor (should be the default Visual Studio configuration). This will build the whole engine, with Chaos, since it's already setup in the project's Target file.

              NOTE: If you want to create your own project, you will have to follow the steps outlined in the "Follow these steps to enable Chaos in 4.23" section.

              7. Once it's done, you can launch the sample from Visual Studio with F5 (or Ctrl+F5, which will launch without debugging attached).

              NOTE: If you don't have the Epic Games launcher installed, this will be the only way you can launch it. Double-clicking the ChaosDestructionDemo.uproject will not work (you'll get an error message).

              8. If you do have the launcher installed you should be able to open it by double-clicking the uproject.

              Break all the things!

              RESOURCES:

              Chaos Documentation





              Feel free to use this thread for discussions related to Chaos. We appreciate your feedback!
              i get a 404 error everytime i try to get source files

              Comment


                After copying the ChaosDestructionDemo folder to my project directory and building the demo I am getting the following error when trying to load the map:

                Failed to open map file. This is most likely because the map was saved with a newer version of the engine.

                I have a latest fetch from the repository and have successfully built the editor previously (and the editor still loads fine). Anyone have any ideas about where I went wrong?
                Last edited by BryanBishop; 09-08-2019, 03:07 PM.

                Comment


                  Originally posted by BryanBishop View Post
                  After copying the ChaosDestructionDemo folder to my project directory and building the demo I am getting the following error when trying to load the map:




                  I have a latest fetch from the repository and have successfully built the editor previously (and the editor still loads fine). Anyone have any ideas about where I went wrong?
                  Do not use the latest fetch from the repository. Fetching will probably work fine at the day of the release, but probably not later. Click on the releases link and there you will see every single individual release, including hotfixes (https://github.com/EpicGames/UnrealEngine/releases) and there you choose the release and choose the source code (zip) link to download.
                  Nilson Lima
                  Technical Director @ Rigel Studios Ltda - twitter: @RigelStudios
                  Join us at Discord: https://discord.gg/uFFSEXY

                  UE4 Marketplace: Cloudscape Seasons
                  supporting: Community FREE Ocean plugin

                  Comment


                    Has anyone got Linetraces to work with chaos? The demo from the launcher uses linetraces and they work fine (gameplay examples map).... but on a new project they dont seem to collide with choas stuff :-(

                    [UPDATE]
                    Of - Thanks to dantreble on the UE Discord

                    In order to use linetraces you must build the engine with:


                    bCustomSceneQueryStructure = true;

                    (In addition to bCompileChaos = true; )
                    Last edited by OptimisticMonkey; 09-08-2019, 11:03 PM.
                    https://www.casualdistractiongames.com

                    Comment


                      I downloaded version 4.23 from Github, put the ChaosDestructionDemo from both the fault and from a created project saved in my desktop into both the folder I unzipped the Github file into and the Github folder itself. Each time I try and varience of the above and run GenerateProjectFiles.bat I get this error:
                      GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects. Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script.

                      Comment


                        when will this be integrated into unreal. 4.23 has been released and its still not.

                        Comment


                          Originally posted by OptimisticMonkey View Post
                          Has anyone got Linetraces to work with chaos? The demo from the launcher uses linetraces and they work fine (gameplay examples map).... but on a new project they dont seem to collide with choas stuff :-(

                          [UPDATE]
                          Of - Thanks to dantreble on the UE Discord

                          In order to use linetraces you must build the engine with:


                          bCustomSceneQueryStructure = true;

                          (In addition to bCompileChaos = true; )
                          If anyone was wondering why their previously compiled engine was re-compiling when compiling the ChaosDemo project, this is the reason why.

                          VictorLerp might be a good idea to add this to the setup steps.
                          --------------------------------------------------------
                          [New On Marketplace] Custom Character Creator
                          --------------------------------------------------------
                          [Marketplace]Multiplayer Melee Combat System - Animated Crossbow
                          --------------------------------------------------------

                          Comment


                            Some more info on Linetraces (based on observation, may not be accurate), looks like only static chaos geometry can be hit by a linetrace?
                            eg. Appears destroyed chunks are not hit.

                            [Update] This is not entirely correct - I have levels where the linetraces do hit fractured chaos geometry. Same assets in same project in other level dont - so still researching.

                            [Last Update] So all newly created maps after adding bCustomSceneQueryStructure = true appear to work. The only map this happens on was created before the engine recompile. Assuming something stored with that map and moving on.

                            In summary, linetraces DO hit static and dynamic geometry.

                            Only leaving this here instead of deleting in case someone else stumbles into the same issue.
                            Last edited by OptimisticMonkey; 09-09-2019, 10:53 AM.
                            https://www.casualdistractiongames.com

                            Comment


                              Literally Anyone trying to build this with a fresh install of visual studio 2019 is going to get some build errors. Tried it twice on 2 different computers with fresh installs. Turns out the latest version of Visual Studios 2019 Has some Directory errors and will not work. This has nothing to do with the Unreal Team but as it stands the instructions will not work for anyone downloading a fresh install of Visual Studios 2019 just to test Chaos out.

                              The only work around is to

                              1:go to the visual studios installer hit modify and install .Net Framework 4.6.2 Target and .Net Framework 4.6.2 SDK into your Visual studios 2019 build.

                              2: follow everything in the original install tutorial post but do hit build yet

                              3: while in visual studio 2019 select UE4 in the solutions explorer so that it is highlighted

                              4:go to project and open settings

                              5: Paste C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.2\Include\um into Include Directories and hit Apply

                              6: now you can build UE4




                              If your Build is giving errors like "Cannot open include file: 'metahost.h': No such file or directory" This will solve your problem.

                              Comment


                                Is there anyway to create a project using 4.23 compiled in another directory that is not in the directory where the editor.exe is?
                                I am also creating 05 using simple floor. Put the same column, anchor, and player. When I start the level the column falls and fractures. What am I missing. Thanks.
                                Last edited by theProfessor; 09-09-2019, 04:40 PM.

                                Comment

                                Working...
                                X