No Camera Found in Scene - Not True #102514

Closed
opened 2022-11-15 02:44:40 +01:00 by rohan stevenson · 10 comments

System Information
Operating system: Linux-5.15.0-52-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.85.02

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender is reporting no camera when attempting to render which is untrue.

Exact steps for others to reproduce the error

  • The camera in two linked scenes is not updating, when changes are made in either. Assuming this to be pilot lack of knowledge...
  • I deleted the camera in the first scene (Cycles)
  • and copied the camera from the second scene (Eevee).

The aim is to composite two scenes using Cycles (scene 1) and Eevee (scene 2).

The first scene will no longer render, even when an additional camera is added to the scene and set to be the camera for the scene (control numpad 0).
No Camera in Screen.png
I attempted to reproduce the problem with a default project, but was unable to.
Dyson Sphere Camera Problem.zip

Simply attempt to render an image in the Scene labelled (Dyson Sphere) and the error message arises. I am assuming the only way to resolve this is to reconstruct the blend file entirely.

**System Information** Operating system: Linux-5.15.0-52-generic-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 510.85.02 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender is reporting no camera when attempting to render which is untrue. **Exact steps for others to reproduce the error** - The camera in two linked scenes is not updating, when changes are made in either. Assuming this to be pilot lack of knowledge... - I deleted the camera in the first scene (Cycles) - and copied the camera from the second scene (Eevee). The aim is to composite two scenes using Cycles (scene 1) and Eevee (scene 2). The first scene will no longer render, even when an additional camera is added to the scene and set to be the camera for the scene (control numpad 0). ![No Camera in Screen.png](https://archive.blender.org/developer/F13915107/No_Camera_in_Screen.png) I attempted to reproduce the problem with a default project, but was unable to. [Dyson Sphere Camera Problem.zip](https://archive.blender.org/developer/F13915106/Dyson_Sphere_Camera_Problem.zip) Simply attempt to render an image in the Scene labelled (Dyson Sphere) and the error message arises. I am assuming the only way to resolve this is to reconstruct the blend file entirely.

Added subscriber: @rohan.stevenson

Added subscriber: @rohan.stevenson
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Seems like somehow the camera got "cut" from the Eevee scene (instead of being copied from there?)

If I switch to the Eevee scene and also set Camera.002 as the camera there, I can get it to render properly

image.png

Does this work for you?
(still a bit weird why the error message refers to the Dyson Sphere scene - and not the Eevee one...)

Seems like somehow the camera got "cut" from the `Eevee` scene (instead of being copied from there?) If I switch to the Eevee scene and also set `Camera.002` as the camera there, I can get it to render properly ![image.png](https://archive.blender.org/developer/F13916974/image.png) Does this work for you? (still a bit weird why the error message refers to the `Dyson Sphere` scene - and not the `Eevee` one...)
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Philipp Oeser self-assigned this 2022-11-15 15:46:03 +01:00
Member

In #102514#1446168, @lichtwerk wrote:
(still a bit weird why the error message refers to the Dyson Sphere scene - and not the Eevee one...)

So code in check_valid_camera also goes to check_valid_compositing_camera (which checks the renderlayer nodes for respective cameras).
If check_valid_compositing_camera doesnt find such a camera, it will still report the scene in which the compositing tree resides (and not the scene that might actually miss the camera)
This is not totally wrong strictly speaking, but the error message can definitely be improved to avoid confusion.
Will put on my desk.

NOTE: 61c9cacbd7 and 485ea4353f are related

> In #102514#1446168, @lichtwerk wrote: > (still a bit weird why the error message refers to the `Dyson Sphere` scene - and not the `Eevee` one...) So code in `check_valid_camera` also goes to `check_valid_compositing_camera` (which checks the renderlayer nodes for respective cameras). If `check_valid_compositing_camera` doesnt find such a camera, it will still report the scene in which the compositing tree resides (and not the scene that might actually miss the camera) This is not totally wrong strictly speaking, but the error message can definitely be improved to avoid confusion. Will put on my desk. NOTE: 61c9cacbd7 and 485ea4353f are related

This issue was referenced by a274718e7d

This issue was referenced by a274718e7d36010b89da6bb5740a113513f32047

This issue was referenced by 9e0fcd5755

This issue was referenced by 9e0fcd575572e4156be8ad45afef0dbd5130d209

This issue was referenced by 63c4ec89e1

This issue was referenced by 63c4ec89e123f10cc8fa155cd9bbcc16e74dc62c
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#102514
No description provided.