{"action":"opened","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/23718","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/23718/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/23718/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/23718/events","html_url":"https://github.com/godotengine/godot/issues/23718","id":381059760,"node_id":"MDU6SXNzdWUzODEwNTk3NjA=","number":23718,"title":"Trying to save scene cause viewport_set_canvas_stacking: Condition ' !viewport ' is true. ","user":{"login":"qarmin","id":41945903,"node_id":"MDQ6VXNlcjQxOTQ1OTAz","avatar_url":"https://avatars2.githubusercontent.com/u/41945903?v=4","gravatar_id":"","url":"https://api.github.com/users/qarmin","html_url":"https://github.com/qarmin","followers_url":"https://api.github.com/users/qarmin/followers","following_url":"https://api.github.com/users/qarmin/following{/other_user}","gists_url":"https://api.github.com/users/qarmin/gists{/gist_id}","starred_url":"https://api.github.com/users/qarmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qarmin/subscriptions","organizations_url":"https://api.github.com/users/qarmin/orgs","repos_url":"https://api.github.com/users/qarmin/repos","events_url":"https://api.github.com/users/qarmin/events{/privacy}","received_events_url":"https://api.github.com/users/qarmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-15T08:57:08Z","updated_at":"2018-11-15T08:57:08Z","closed_at":null,"author_association":"NONE","body":"**Godot version:**\r\n3.1 66c6dfb\r\n\r\n\r\n**OS/device including version:**\r\nWindows 10\r\n\r\n\r\n**Issue description:**\r\nWhen I save scene from below then this error is shown:\r\n```\r\nERROR: viewport_set_canvas_stacking: Condition ' !viewport ' is true.\r\n   At: servers/visual/visual_server_viewport.cpp:541\r\n```\r\n\r\n\r\n**Steps to reproduce:**\r\n1. Copy code from below and save as  Scene.tscn\r\n2. Open this scene\r\n3. Save this scene\r\n\r\n**Minimal reproduction project:**\r\n```\r\n[gd_scene format=2]\r\n\r\n[node name=\"Game\" type=\"Node2D\"]\r\n\r\n[node name=\"Camera\" type=\"Camera2D\" parent=\".\"]\r\n\r\n[node name=\"HUD\" type=\"CanvasLayer\" parent=\".\"]\r\n\r\n```"}}
{"actor":{"display_login":"qarmin"}}