Request: More didactic error message when invalid type in ambient.toml
Each time I have an invalid component type, I feel like there's a missed opportunity to teach me what the valid component types are.
boid_neighbour_count = { type = "Usize" }
boid_neighbour_array = { type = "Array" }
Error: Failed to resolve dependencies for pre-build
Caused by:
Failed to resolve type `Usize` for component `boid_neighbour_count
This error message could be followed with a message like the following:
Valid types are `U8, U32, I8, I32, F32, Bool, EntityId, . . .`
You're self-assigning this?
I’m giving it a try! I wanted to rummage in the code a little and see if it’s something accessible to me.
On Thu, Nov 23, 2023 at 12:05 PM Philpax @.***> wrote:
You're self-assigning this?
— Reply to this email directly, view it on GitHub https://github.com/AmbientRun/Ambient/issues/1183#issuecomment-1824737211, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABG6H6AK4SZVWO7VSCLUNO3YF566PAVCNFSM6AAAAAA7YBVRN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRUG4ZTOMRRGE . You are receiving this because you were assigned.Message ID: @.***>
Awesome! Let me know if you need a hand or any pointers.