Closed ekalosak closed 4 months ago
me, with this bug:
anyway, thanks for the PR.
Ah, so, I can verify that the change to the import path has nothing to do with it.
The fix is to make sure that the Bevy version used by Big Brain match the Bevy version used by the user code. So, with latest Bevy 0.13 and latest Big Brain 0.19, there is a mismatch - as Big Brain 0.19 uses Bevy 0.12.
Thus the compiler saying "found a different Commands" - it's from a semantically different Bevy dependency.
In my user code, I simply specify the Big Brain dependency using a git location - as the main:HEAD of this project is on Bevy 0.13 - and the error evaporates, the example builds successfully, and everything works.
Really bottom line just points to releasing Big Brain 0.20 including Bevy 0.13, imho.
The compiler message could be more clear, I think is the real answer...
I reproduced your initial issue and verified these changes fixed it for me