Closed
Description
Note: This is in regard to the new 0.15.0-rc.1
release candidate.
I understand that this is a pre-release, and considered waiting to see if the official release notes might shed light on this behaviour,
but thought you might want to know about the rough edges sooner than that.
The Issue
After updating to 0.15.0-rc.1
, I get about a thousand of these every second:
ERROR bevy_picking::mesh_picking::ray_cast::intersections: Invalid intersection check: `TriangleList` is the only supported `PrimitiveTopology`
I am indeed using an alternate PrimitiveTopology
, though I am not yet utilising any picking
features within my code.
Each of the following is unclear to me:
- Why it needs to be logging this for every function call (or even every frame), vs using
error_once!
- Why it is considered an error and not a warning (given that it is an optional feature)
- Why it is attempting to compute so many intersections (given that I'm not requesting such information in my systems)
- Why it even matters which
PrimitiveTopology
is used (the other variants work just fine elsewhere in Bevy)
Reproduction
You can reproduce this behaviour with the regular 3d/lines
example, with one tweak:
- Change one or both usages of
RenderAssetUsages::RENDER_WORLD
toRenderAssetUsages::default()
- Run the example and move your mouse near the lines