Repository navigation
Update to Bevy 0.18 - #16
Merged
Merged
Conversation
The effect would previously do nothing if the text had a black TextColor component.
-- Backstory: when I added this crate as a dependency in my large project, I started running into mysterious build errors related to building bevy_reflect itself (!). It seems this is a known issue for project using custom builds or proc-macros. -- See the closed issue bevyengine/bevy#18668 for context and the workaround used here. -- I was able to use this as a dependency and to build all the examples. -- For searchability, this is the kind of error I was getting (tens of times): ``` error[E0599]: no method named `with_docs` found for struct `type_info::OpaqueInfo` in the current scope --> .../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_reflect-0.17.0/src/impls/alloc/collections/binary_heap.rs:3:1 | 3 | impl_reflect_opaque!(::alloc::collections::BinaryHeap<T: Clone>(Clone)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `type_info::OpaqueInfo` | ::: .../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_reflect-0.17.0/src/type_info.rs:580:1 | 580 | pub struct OpaqueInfo { | --------------------- method `with_docs` not found for this struct | = note: this error originates in the macro `impl_reflect_opaque` (in Nightly builds, run with -Z macro-backtrace for more info) ```
-- Backstory: when I added this crate as a dependency in my large project, I started running into mysterious build errors related to building bevy_reflect itself (!). It seems this is a known issue for project using custom builds or proc-macros. -- See the closed issue bevyengine/bevy#18668 for context and the workaround used here. -- I was able to use this as a dependency and to build all the examples. -- For searchability, this is the kind of error I was getting (tens of times): ``` error[E0599]: no method named `with_docs` found for struct `type_info::OpaqueInfo` in the current scope --> .../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_reflect-0.17.0/src/impls/alloc/collections/binary_heap.rs:3:1 | 3 | impl_reflect_opaque!(::alloc::collections::BinaryHeap<T: Clone>(Clone)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `type_info::OpaqueInfo` | ::: .../.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_reflect-0.17.0/src/type_info.rs:580:1 | 580 | pub struct OpaqueInfo { | --------------------- method `with_docs` not found for this struct | = note: this error originates in the macro `impl_reflect_opaque` (in Nightly builds, run with -Z macro-backtrace for more info) ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.