Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find any camera. Returning NULL. #1

Closed
RobertIndie opened this issue Oct 29, 2018 · 1 comment
Closed

Could not find any camera. Returning NULL. #1

RobertIndie opened this issue Oct 29, 2018 · 1 comment

Comments

@RobertIndie
Copy link

When I ran the example code Planet Editor, it raised errors "[ERROR]: Could not find any camera. Returning NULL".

Information in the console:

[INFO]:` Starting application.
[INFO]: Initializing engine systems.
[INFO]: Initialized Render Context with params:
    - max_buffers (100), max_textures (100), max_materials (100), max_framebuffers (100)
[INFO]: Launched rendering thread (VXR_THREADING).
[INFO]: Reached first application loop.
[ERROR]: Could not find any camera. Returning NULL.
@avilapa
Copy link
Owner

avilapa commented Oct 29, 2018

Yeah I probably shouldn't address this as an error... It happens because the first frame is completed before any cameras are created, and the UI Editor retrieves the main camera each frame...

I will remove the print on the next update.

@avilapa avilapa closed this as completed Oct 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants