o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.82k stars 2.21k forks source link

Launcher gets stuck when opening with a level using autoexec.cfg #7877

Open moraaar opened 2 years ago

moraaar commented 2 years ago

Describe the bug Running AutomatedTesting launcher with a level using autoexec.cfg causes the launcher to get stuck. If there is no autoexec.cfg and the command is entered with the console (pressing "`" key) it works fine, but not if it's done via autoexec.cfg

Steps to reproduce Steps to reproduce the behavior:

  1. Build AutomatedTesting Launcher in profile
  2. Create file o3de\AutomatedTesting\autoexec.cfg and add the following line: LoadLevel Levels/NvCloth/NvCloth_AddClothSimulationToMesh/NvCloth_AddClothSimulationToMesh.spawnable
  3. Run Asset Processor and wait for all assets to be processed
  4. Execute AutomatedTesting.GameLauncher.exe

Expected behavior Launcher opens with the level

Actual behavior Launcher gets stuck.

Game.log

Found in Branch development @98791cc6

monroegm commented 2 years ago

@moraaar Is this the only way to automatically launch a level using the game launcher?

moraaar commented 2 years ago

Yes AFAIK.

IMO this should be at least a critical, as currently the only way to run the launcher is without any level and having to load it manually later, but this is not what developers do normally, they'll want to launch their start up level right away.

moraaar commented 2 years ago

This issue is still present in development d0dff2d7