o3de
o3de copied to clipboard
Baking reflection probe causes errors to be printed in the console
Describe the bug: Clicking the Bake Reflection Probe button in the Reflection Probe component prints the following warnings in the console:
[Error] (PassSystem) - Do not add child passes outside of build phase
[Error] (PassSystem) - Pass::FrameBegin - Pass [Root.EnvironmentCubeMapPipeline_{95605793-7D4A-45BD-9C70-931383A884F1}.EnvironmentCubeMapPass.Child.Shadows.Cascades] is attempting to render, but is not in the Idle state.
The issue did not occur in Development (a4f50d0) build. For further information please refer to the attached video file.
Steps to reproduce:
- Launch the Editor and create a new level.
- Create a new entity with Reflection Probe and Box Shape components.
- Click Bake Reflection Probe button inside the Reflection Probe component.
Expected behavior: A Cubemap is baked and the Editors console remains clear of warning and errors.
Actual behavior: Two PassSystem warnings appear in the console.
Video:
https://user-images.githubusercontent.com/86953282/179553595-7740cec4-2d4d-48db-bf18-0eae55c4169c.mp4
Found in Branch: Development (1e94881)
Desktop/Device: • Device: PC • OS: Windows • Version: 10 Pro • CPU: Intel Core i7 11700F • GPU: Nvidia RTX 3070 LHR • Memory: 32GB
Discussed in today's Sig-simulation issue triage. Referring this issue to @o3de/sig-graphics-audio for further review
On the Stabilization/2210 (7c4e3ca) build these errors are also printed when capturing CubeMap via the CubeMap Capture component. It should be noted that the [Error] (PassSystem) - Do not add child passes outside of build phase
is printed as [Warning] (PassSystem) - Do not add child passes outside of build phase
. The generated .dds is usable without issues in for example Material Editor's Viewport IBL Specular Image Asset.
Should this be reported as a separate issue for the CubeMap Capture component?