What happens to EguiContext. #313
Unanswered
MiniMinerX
asked this question in
Q&A
Replies: 2 comments
-
Not exactly sure why, but I do think that the editor context is only available in editor mode. If you need egui context on your game we might need to do some changes. For now, I suggest have a new context for your game mode. Another alternative is if you share you code with one of us. Would be probably easier to identify the specific issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do you have a screenshot of how the error happens, or an error log? Entities stop showing up in the texture where they were supposed to be displayed? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this function fn update_worldspace(
mut ctxs: Query<&mut bevy_egui::EguiContext, With>,
time: Res,
mut commands: Commands,
mut curves: Query<(Entity, &mut CurveContainer, &mut EditorWindow, &mut AnimateWithCurve)>,
) {
} My entities with the RenderToTexture are supposed to have an EguiContext with them. Without the editor, this registers fine but with the editor, it doesnt and I dont know why.
Beta Was this translation helpful? Give feedback.
All reactions