Quickstart Errors
While following the [quickstart guide](https://github.com/kaosat-dev/Blenvy/blob/main/docs/quickstart/README.md) I have set up blenvy with blender, generated assets etc(with Blender 4.2.5 [cf](https://github.com/kaosat-dev/Blenvy/issues/260#issuecomment-2588479227)) but run into the following errors when attempting `cargo run`:
```bash
error[E0659]: `Component` is ambiguous
--> src/main.rs:13:10
|
13 | #[derive(Component, Reflect)]
| ^^^^^^^^^ ambiguous name
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `Reflect` is ambiguous
--> src/main.rs:13:21
|
13 | #[derive(Component, Reflect)]
| ^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `AppExit` is ambiguous
--> src/main.rs:4:14
|
4 | fn main() -> AppExit {
| ^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `App` is ambiguous
--> src/main.rs:5:5
|
5 | App::new()
| ^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `DefaultPlugins` is ambiguous
--> src/main.rs:6:23
|
6 | .add_plugins((DefaultPlugins, BlenvyPlugin::default()))
| ^^^^^^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `Startup` is ambiguous
--> src/main.rs:9:22
|
9 | .add_systems(Startup, setup)
| ^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
```bash
error[E0659]: `ReflectComponent` is ambiguous
--> src/main.rs:14:11
|
14 | #[reflect(Component)]
| ^^^^^^^^^ ambiguous name
|
= note: ambiguous because of multiple glob imports of a name in the same module
```
The pattern generally here is `= note: ambiguous because of multiple glob imports of a name in the same module`. Yet, there are more errors of another type
```bash
error[E0277]: the trait bound `(DefaultPlugins, ...): Plugins<_>` is not satisfied
--> src/main.rs:6:22
|
6 | .add_plugins((DefaultPlugins, BlenvyPlugin::default()))
| ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
| |
| required by a bound introduced by this call
|
= help: the trait `bevy::bevy_app::plugin::sealed::Plugins<_>` is not implemented for `(bevy::DefaultPlugins, blenvy::BlenvyPlugin)`
```
```bash
error[E0277]: `(BlueprintInfo, ..., ..., ...)` is not a `Bundle`
--> src/main.rs:26:20
|
26 | commands.spawn((
| ______________-----_^
| | |
| | required by a bound introduced by this call
27 | | BlueprintInfo::from_path("levels/World.glb"),
28 | | SpawnBlueprint,
29 | | HideUntilReady,
30 | | GameWorldTag,
31 | | ));
| |_____^ invalid `Bundle`
|
= help: the trait `bevy::prelude::Bundle` is not implemented for `(BlueprintInfo, ..., ..., ...)`
= note: consider annotating `(BlueprintInfo, ..., ..., ...)` with `#[derive(Component)]` or `#[derive(Bundle)]`
```
关闭于 2025-09-21 1 条评论