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

Trying to save scene cause viewport_set_canvas_stacking: Condition ' !viewport ' is true. #23718

Closed
qarmin opened this issue Nov 15, 2018 · 2 comments
Milestone

Comments

@qarmin
Copy link
Contributor

qarmin commented Nov 15, 2018

Godot version:
3.1 66c6dfb

OS/device including version:
Windows 10

Issue description:
When I save scene from below then this error is shown:

ERROR: viewport_set_canvas_stacking: Condition ' !viewport ' is true.
   At: servers/visual/visual_server_viewport.cpp:541

Steps to reproduce:

  1. Copy code from below and save as Scene.tscn
  2. Open this scene
  3. Save this scene

Minimal reproduction project:

[gd_scene format=2]

[node name="Game" type="Node2D"]

[node name="Camera" type="Camera2D" parent="."]

[node name="HUD" type="CanvasLayer" parent="."]

@akien-mga akien-mga added this to the 3.1 milestone Nov 15, 2018
@akien-mga
Copy link
Member

CC @RandomShaper

@RandomShaper
Copy link
Member

Oh, I think I now what's happening. I'll fix it (as well as the 3.0 PR) in a few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants