Open blueforesticarus opened 7 months ago
adding IsDefaultUiCamera to my camera solved this for me.
Perhaps there is some way we could avoid the ui defaulting to the editor 2d camera
I have the same issue in a 2D project as well. I would like to have the UI appear on both, not just the game camera - so for me isn't just about defaulting, but also the editor camera "proxying" the main camera better
Another related issue I have is that the top egui bar seems to cover up part of my ui.
When using bevy_editor_pls and YarnSpinner's Example, (which uses bevy_ui), the problem happens too.
I have a game that has a single 3d camera, a 3d scene, and also ui nodes. Without using bevy_editor_pls the ui overlays over the 3d scene.
If EditorPlugin::default() is added, then the game view does not have the overlay, nor do the 3d editor cameras, the ui is visible only in the editor under the 2d camera option.