ID 233796 - No profiling information is written when using `--force-profile` in batch mode

Follow

Problem summary:

No profiling information is written when using `--force-profile`in batch mode.

This is a regression between 2.5v1.001570b (3rd of 5 betas of 2.5v1) and 2.5v1.001600b (4th beta)

Steps to reproduce:

  1. `mkdir /tmp/prof`
  2. `cd` into the Katana installation directory
  3. Launch with: `./katana --batch --asset demos/katana_files/texture_resolving_prman.katana -t 1 --render-node Render --force-profile --profiling-dir /tmp/prof`

Expected behaviour:

Files are written to /tmp/prof

Actual behaviour:

No files are written to /tmp/prof

Workaround:

Profiling still works in UI mode with `StartProfilingSession()` and `EndProfilingSession()`

Reproduced versions/platforms:

  • 2.5v1/Linux
  • 2.5v3/Linux

Customer version/platform:

2.5v3

    We're sorry to hear that

    Please tell us why