godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.09k stars 21.18k forks source link

Camera and raycast previews don't show in subscenes #3371

Closed Cobradabest closed 6 years ago

Cobradabest commented 8 years ago

When I import a scene with a camera and/or a raycast, the previews for both disappear, I recreated this by using Oxrock's raycast demo, by converting the player node into a subscene and then reimporting it after deleting the original. I've been experiencing this in a game I'm developing as well. Before: godot engine - raydemo - new_scene scn - _107

After (as a subscene): godot engine - raydemo - new_scene scn_108

Link to Demo: https://github.com/oxrock/Godot-camera-raycasting-demo

Version used: Linux x86.64, compiled from source the same day as I posted this.

bojidar-bg commented 8 years ago

Does this happen when the raycast is a sibling of the camera, instead of a direct child?

oxrock commented 8 years ago

the raycast can be independent of the camera, the problem persists.

Piet-G commented 6 years ago

Tested on master, both camera and raycast are visible now.

Chaosus commented 6 years ago

@DualMatrix Thanks !

Chaosus commented 6 years ago

Hmm.. I think it still could be issue for 2.x version, so I better reopen it.. @DualMatrix if you have free time can you download a 2.1.5 and check if the problem exist ?

Piet-G commented 6 years ago

Tested in 2.1.5 they don't show up in that version.

Chaosus commented 6 years ago

Thanks, then its a purely 2.x issue

akien-mga commented 6 years ago

I don't think it will be fixed in 2.1 by now, only critical bug fixes will be considered for that platform. Closing as fixed in 3.1 (potentially 3.0 too).