Closed linonetwo closed 5 years ago
Huh, that's an odd one. Could be a version mismatch with amethyst: amethyst-editor-sync depends on amethyst 0.8, you're using amethyst 0.9. Could you try adding a patch section to your Cargo.toml
to force amethyst 0.9 in all dependencies:
[patch.crates-io]
amethyst = { git = "https://github.com/amethyst/amethyst", tag = "v0.9.0" }
Let me know if that works. I'll try to get an updated version of amethyst-editor-sync that supports amethyst 0.9 out soon(-ish)!
like this?
[dependencies]
amethyst = "0.9.0"
log = "0.4.6"
serde = "1.0.80"
amethyst-editor-sync = "0.3.0"
[patch.crates-io]
amethyst = { git = "https://github.com/amethyst/amethyst", tag = "v0.9.0" }
Same error actually...
Hey, sorry for the slow response! I finally had a chance to look into this some more and I haven't been able to reproduce it consistently. I briefly ran into something that looked similar, but it went away after running cargo clean
. Would you be able to provide me with the code that's causing the problem? I can try to look into it more if I'm able to see exactly what's going on.
@randomPoison Sure, look at this branch https://github.com/linonetwo/CS275-Assignment/tree/refactor/use-amethyst
This is due to the version mismatch, as had been mentioned.
The tip of the master
branch uses Amethyst 0.9, so you can work around this with the following
[dependencies]
amethyst-editor-sync = { git = "https://github.com/randomPoison/amethyst-editor-sync/" }
That said, is there anything blocking a release to sync with the version of amethyst commonly in use?
No real blocker aside from my own lack of free time 😓 I'm going to be freeing up some time for myself to dedicate to this in the next couple of weeks, at which point I'll be able to publish an updated version pinned to Amethyst 0.10. Sorry for all the delays!
Sorry for all the delays! I have finally updated amethyst-editor-sync to work with Amethyst 0.10, and will be publishing the changes as version 0.4 soon! @linonetwo if you've updated your project to use Amethyst 0.10, please give the latest code on the master branch a try and let me know if it resolves your issue 🙂
I'm going to close this down since I the underlying issue should be resolved for the latest version of Amethyst. Please feel free to re-open if you run into the same issue after updating amethyst and amethyst-editor-sync 🙂
I'm trying this tool:
But got:
I'm in
rustc 1.30.1 (1433507eb 2018-11-07)
,amethyst = "0.9.0"
andamethyst-editor-sync = "0.3.0"