mirror of
https://github.com/bevyengine/bevy
synced 2025-01-08 03:08:55 +00:00
09fb6b4820
# Objective - The current version of the `meshopt` dependency is incorrect, as `bevy_pbr` uses features introduced in `meshopt` `0.2.1` - This causes errors like this when only `meshopt` `0.2` is present in `Cargo.lock`: ``` error[E0432]: unresolved imports `meshopt::ffi::meshopt_optimizeMeshlet`, `meshopt::simplify_scale` --> crates\bevy_pbr\src\meshlet\from_mesh.rs:10:27 | 10 | ffi::{meshopt_Bounds, meshopt_optimizeMeshlet}, | ^^^^^^^^^^^^^^^^^^^^^^^ | no `meshopt_optimizeMeshlet` in `ffi` | help: a similar name exists in the module: `meshopt_optimizeOverdraw` 11 | simplify, simplify_scale, Meshlets, SimplifyOptions, VertexDataAdapter, | ^^^^^^^^^^^^^^ no `simplify_scale` in the root ``` ## Solution - Specify the actual minimum version of `meshopt` that `bevy_pbr` requires |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |