IN THIS ARTICLE
Troubleshooting Packaging in O3DE
This guide can help you troubleshoot and resolve some common issues that you might encounter when packaging your Open 3D Engine (O3DE) projects.
Looking for error logs or memory dumps? Refer to Open 3D Engine Log Files for locations.
The following are techniques you can use to help you debug any issues that you may encounter while building a project for release.
In Visual Studio, you can compile with optimizations disabled and debug symbols enabled. This lets Visual Studio’s debugging tools produce more helpful information that can help you debug.
Make the following modifications to the
Configurations_msvc.cmake file in the
<engine>\cmake\Platform\Common\MSVC directory. In
After making those modifications,
ly_append_configurations_options should look like this:
ly_append_configurations_options( # ... COMPILATION_RELEASE /Od # Enable debug symbols /Ob2 # Inline any suitable function /Ot # Favor fast code over small code /Oi # Use Intrinsic Functions /Oy # Omit the frame pointer /Zi # Generate debugging information (no Edit/Continue) # ...
To debug a non-monolithic or monolithic build and its
.pak files, you can build with the
profile configuration. The
profile configuration creates log files that provide information to help you debug. For information on O3DE log files, refer to
Open 3D Engine Log Files.
Use CMake to invoke Visual Studio to build your project with the
cd C:\MyProject cmake --build <build> --target INSTALL --config profile
<build> with either of the following:
build\windows– For non-monolithic builds.
build\windows_mono– For monolithic builds.