Search Issue Tracker

Active

Votes

0

Found in

6000.0.59f1

6000.2.7f1

6000.3.0b4

6000.4.0a1

Issue ID

UUM-120587

Regression

No

LogWarning is not executed in the HDRP package script when running the project in -batchmode

-

How to reproduce:
1. Open the project “IN-117286_TestDebugHDRP”
2. Run the project in -batchmode (see notes)
3. Observe the outputted log file

Expected result: The output contains “SetRenderingFeatures” text printed out
Actual result: The log “SetRenderingFeatures” is not printed out

Reproducible with: 2023.1.0a1, 6000.0.59f1, 6000.2.7f1, 6000.3.0b4, 6000.4.0a1

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:

  • The project has “Debug.LogWarning("SetRenderingFeatures");” added in “/Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.cs”
  • The -batchmode command used for testing on Windows 11, cmd:

"<unity-version-directory>\Unity.exe" ^
-batchmode ^
-projectPath "<project-directory>" ^
-logFile “<directory-to-save-log>\batchmodeTest.log"
After running the command, you have to wait until Unity finishes, this can be seen by opening the “batchmodeTest.log” file and looking at the last line.
After Unity has finished executing, kill the process with “taskkill /F /IM Unity.exe /T”

  • To edit the HDRP package script, the “com.unity.render-pipelines.core” package is necessary
  • The log shows up when the project is opened through the hub and also when entering Play mode

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.