Open miketwenty1 opened 5 months ago
v0.13.2
parent.spawn(( MaterialMesh2dBundle { mesh: meshes.add(Rectangle::default()).into(), transform: Transform::default().with_scale(Vec3::splat(9999999999.)), material: materials.add(Color::Rgba { red: 0.5, green: 0.5, blue: 0.5, alpha: 0.5, }), visibility: Visibility::Hidden, ..default() }, DrawOverlayMesh, ));
https://github.com/bevyengine/bevy/assets/7761473/9109a223-6289-43ca-940a-3a71b9b06088
Another example:
https://github.com/bevyengine/bevy/assets/7761473/d586855b-8287-466b-b131-03355a936d75
I have run into similar artifacts on ios and never seen them on windows, linux or android. My meshes aren't even that big, maybe 500 units. They show up pretty randomly.
Bevy version
v0.13.2
https://github.com/bevyengine/bevy/assets/7761473/9109a223-6289-43ca-940a-3a71b9b06088