You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at 'view entity should exist: QueryDoesNotMatch(0v0)', crates\bevy_ui\src\render\render_pass.rs:72:14
Additional information
I think this occurs any time a CameraUI entity is despawned, but not if one is never spawned. I didn't look deeply into it, but would suggest we could just warn instead of expecting if the query doesn't resolve. Maybe "camera driven rendering" will fix this already.
The text was updated successfully, but these errors were encountered:
# Objective
- We can't minimise if there's a 2d camera because ??? there legally must be a 2d target.
- Fixesbevyengine#4526
- Fixesbevyengine#4856
## Solution
- Make it not crash in those cases, just do nothing
- Seems to work ¯\\_(ツ)_/¯
- See also the companion commit in bevyengine#3597 - 503c247
Co-authored-by: Asteria <asteria131@outlook.com>
ItsDoot
pushed a commit
to ItsDoot/bevy
that referenced
this issue
Feb 1, 2023
# Objective
- We can't minimise if there's a 2d camera because ??? there legally must be a 2d target.
- Fixesbevyengine#4526
- Fixesbevyengine#4856
## Solution
- Make it not crash in those cases, just do nothing
- Seems to work ¯\\_(ツ)_/¯
- See also the companion commit in bevyengine#3597 - 503c247
Co-authored-by: Asteria <asteria131@outlook.com>
Bevy version
main
Operating system & version
Windows 10
What you did
Run the
text
example and close the window.What you expected to happen
Clean exit
What actually happened
thread 'main' panicked at 'view entity should exist: QueryDoesNotMatch(0v0)', crates\bevy_ui\src\render\render_pass.rs:72:14
Additional information
I think this occurs any time a
CameraUI
entity is despawned, but not if one is never spawned. I didn't look deeply into it, but would suggest we could just warn instead ofexpect
ing if the query doesn't resolve. Maybe "camera driven rendering" will fix this already.The text was updated successfully, but these errors were encountered: