diff --git a/crates/bevy_macro_utils/src/bevy_manifest.rs b/crates/bevy_macro_utils/src/bevy_manifest.rs index b0d321ba22..8d32781069 100644 --- a/crates/bevy_macro_utils/src/bevy_manifest.rs +++ b/crates/bevy_macro_utils/src/bevy_manifest.rs @@ -95,7 +95,7 @@ impl BevyManifest { return None; }; - let mut path = Self::parse_str::(package); + let mut path = Self::parse_str::(&format!("::{}", package)); if let Some(module) = name.strip_prefix("bevy_") { path.segments.push(Self::parse_str(module)); }